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.

Content Editor Discussions

Forum for content editors and CMS users.

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

Insert <div> without HTML (mode)


Reply

3 Posts   1283 Views

Avatar
suntrop

12 July 2010 at 6:00am Community Member, 131 Posts

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.

Avatar
Devlin

16 July 2010 at 12:49am (Last edited: 16 July 2010 12:49am), Community Member, 215 Posts

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.

[url=http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/template]wiki.moxiecode.com[/url]

Avatar
suntrop

18 July 2010 at 1:16am Community Member, 131 Posts

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

Bey
suntrop