Jump to:

520 Posts in 248 Topics by 263 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » Specific TinyMCE config for Page Types

Forum for content editors and CMS users.

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

Page: 1
Go to End
Author Topic: 2061 Views
  • joe_m
    Avatar
    Community Member
    1 Post

    Specific TinyMCE config for Page Types Link to this post

    15. June 2009 I updated my local test system to SS 2.3.2 rc3. Since this update tinymce.template.js seems useless. Currently you implemented a PHP-based solution for configuring tinymce and also to put in different configurations. My short and simple (may be silly but I don't find the way) questions are:

    1. Where (in my code ...) do I have to implement the configuration(s) via HtmlEditorConfig::get('foo')->setOptions().../or such? Possible in mysite/_config.php??
    2. Where do I have to switch to my config via HtmlEditorConfig::set_active('foo') if I want to set it page-type-specific? LeftAndMain.php resets it to HtmlEditorConfig::set_active('cms'), so my switching obviously makes no sense or got overwritten!?
    3. Where can I put my additional js-code for special tinymce-callbacks (tinymce.template.js was so a nice place), so that it gets loaded?

    Sorry if my questions sounds silly. I'm a newbe

  • rndmerle
    Avatar
    Community Member
    24 Posts

    Re: Specific TinyMCE config for Page Types Link to this post

    Hi.

    I'd really like, too, to know where I should tweak/configure tinymce now.

    Regards.

    2061 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.