Jump to:

517 Posts in 247 Topics by 260 members

Content Editor Discussions

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

Forum for content editors and CMS users.

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

Page: 1
Go to End
Author Topic: 1259 Views
  • suntrop
    Avatar
    Community Member
    131 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
    215 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
    131 Posts

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

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

    Bey
    suntrop

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