+1-888-365-2779
Try Now
More in this section

Forums / Suggestions / Radio button toggle to determine RadEditor output

Radio button toggle to determine RadEditor output

1 posts, 0 answered
  1. Jochem Bökkers
    Jochem Bökkers avatar
    787 posts
    Registered:
    13 Aug 2007
    26 Jun 2012
    Link to this post
    Currently when using the RadEditor to display a content widget, by default (and hardcoded) the widget is displayed inside a <div class="sfContentBlock"></div>

    I would like the ability to have a user-friendly toggle to say if the content widget should output as a <div> a <article> or a <section>. See mock-up attached where the rendered output would become:

    <!--  output as paragraph -->
    <div class="sfContentBlock">
      Here's my content
    </div>
     
    <!-- output as article -->
    <article class="sfContentBlock">
      Here's my content
    </article>
     
    <!-- output as section -->
    <section class="sfContentBlock">
      Here's my content
    </section>


    Although the term 'paragraph' may be misleading considering the <p> tag, it makes sense to an end-user in terms of the paragraph/article/section dividing on a certain page.

    Jochem
1 posts, 0 answered