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've moved the forum!

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.

Customising the CMS /

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

TinyMCE Dropdown for ID - attributes


Go to End


1453 Views

Avatar
tzeller

Community Member, 26 Posts

17 July 2011 at 4:19am

i have integrated the fancybox in silverstripe - it works very smooth - love it

how can i extend in the tinymce the form_select with the id-attribute:

HtmlEditorConfig::get('cms')->setOption('theme_advanced_styles','Name1=class1;Name 2=class2');)

something like

HtmlEditorConfig::get('cms')->setAttribute('theme_advanced_styles','Name1=class1;Name 2=class2');)

couldn't find any solutions...

need help here...

tobias