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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

How to fill styleselect in DOM when using SimpleTinyMCE

Go to End

2 Posts   1153 Views


Community Member, 3 Posts

30 May 2012 at 7:41pm


maybe it's a pretty basic question, but I just can't figure it out:

How do I define styles for the 'styleselect' in the SimpleTinyMCE. In my popup I only see the empty dropdown box.

- Trying to add it somehow in the _config.php --> could not find any documentation - no luck
- Adding styles in the editor.css and flushing the caches like crazy --> no luck

Any help is appreciated.

Cheers from Austria,


Community Member, 4 Posts

21 July 2012 at 12:08am

This thread might help:

in _config.php add:

$base = Director::absoluteBaseURL();
SimpleTinyMCEField::set_default_extra_options("body_class: 'typography', document_base_url:'$base'");

but as thread mentions, in Internet Explorer, has some issues (when in a popup). Havent yet found a solution to that.