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   1290 Views

Avatar
suntrop

Community Member, 131 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.

Avatar
Devlin

Community Member, 215 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.

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

Avatar
suntrop

Community Member, 131 Posts

18 July 2010 at 1:16am

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

Bey
suntrop