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.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
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.
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.
JayDevlin, thanks for your help! Templates are just better than divs :)
Bey
suntrop