Jump to:

5453 Posts in 1674 Topics by 1198 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Extending allowed tags in tinyMCE

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

Page: 1
Go to End
Author Topic: 347 Views
  • Topplestack
    Avatar
    Community Member
    1 Post

    Extending allowed tags in tinyMCE Link to this post

    I'm currently working on a project that requires the ability to have internal css, as there will be some content that will be unique and inline css is not sufficient. I will also need the ability to add custom javascript on a page by page basis. I realize that this isn't completely ordinary,neither is the content of the site. Currently, I am using SS3 and have followed the instructions to do the following:

    HtmlEditorConfig::get('cms')->setOptions(array('extended_valid_elements'... etc. into the mysite/_config.php

    unfortunately, this has had no effect. Is there anything that I am missing? I would be happy to provide additional information if necessary.

    347 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.