Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Content Editor Discussions /

Forum for content editors and CMS users.

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

Insert <div> without HTML (mode)

Go to End

3 Posts   1968 Views


Community Member, 141 Posts

12 July 2010 at 6:00am

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.


Community Member, 344 Posts

16 July 2010 at 12:49am

Edited: 16/07/2010 12:49am

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.


Community Member, 141 Posts

18 July 2010 at 1:16am

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