Jump to:

481 Posts in 150 Topics by 238 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » Insert <div> without HTML (mode)

Forum for content editors and CMS users.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1058 Views
  • suntrop
    Avatar
    Community Member
    122 Posts

    Insert <div> without HTML (mode) Link to this post

    Does anybody know a way to insert HTML-DIV elements without the HTML edit mode?

    I want my clients to be able to create divs just visually and choose - maybe from the list at the top - a CSS class. So they can insert different styled boxes etc.

  • Devlin
    Avatar
    Community Member
    119 Posts

    Re: Insert <div> without HTML (mode) Link to this post

    I think the best choice is to simply use the template plugin in TinyMCE. So you can predefine some templates and your users can select them from a select box.

    wiki.moxiecode.com

  • suntrop
    Avatar
    Community Member
    122 Posts

    Re: Insert <div> without HTML (mode) Link to this post

    JayDevlin, thanks for your help! Templates are just better than divs

    Bey
    suntrop

    1058 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.