Jump to:

513 Posts in 209 Topics by 259 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » Divs in the editor

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 738 Views
  • codemonkey88
    Avatar
    Community Member
    11 Posts

    Divs in the editor Link to this post

    I have created a 2 column layout in the editor using divs. When I press enter within these columns, it is creating new divs rather than <p> or <br> tags. Is there a setting to override this?

    <code>

    <div style ="float left; width:50%">
    some text goes here
    <div style ="float left; width:50%"> < --- This automated div is wrong! Should be either <br> or <p>
    the next paragraph is here
    </div>
    </div>

    </code>

    738 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.