Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Dingley 1474 posts 3431 karma points c-trib
    Sep 04, 2015 @ 08:26
    Simon Dingley
    0

    TinyMce Turn On theme_advanced_path

    We have recently upgraded a sizeable project from v6 to v7 and in the process lost a few of the the more detailed configurations we had in v6. One of these was the element path we had displayed in TinyMce to aid some of the more technical editors.

    Documentation on this feature is here: http://www.tinymce.com/wiki.php/Configuration3x:themeadvancedpath

    I can't seem to get this back in v7 despite adding the following to my tinyMceConfig.config file:

    <customConfig>
        <config key="theme_umbraco_statusbar_location">bottom</config>
        <config key="theme_umbraco_path">true</config>
        <config key="theme_umbraco_layout_manager">SimpleLayout</config>
        ...
    </customConfig>
    

    That said I have looked in the editor_template_src.js file and the default settings seem to be the same anyway for theme_umbraco_path and theme_umbraco_toolbar_location

    theme_umbraco_path : true,
    theme_umbraco_toolbar_location : 'bottom'
    

    Anyone know if there is a restriction in the Umbraco implemention of this that might prevent this option from working? I'm struggling to even find the tinyMCE.init in my Chrome inspector to see if it is in fact being applied.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Oct 05, 2015 @ 16:42
    Tom Fulton
    100

    Hey Simon,

    Try adding this key to tinyMceConfig.config to get the "path" toolbar to show up:

    <customConfig>
        <config key="statusbar">true</config>
    </customConfig>
    

    It's disabled by default in the RTE controller but you can override it using the above.

    Hope that helps, Tom

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Oct 06, 2015 @ 07:26
    Simon Dingley
    0

    Tom you're a star! Well spotted, thanks.

Please Sign in or register to post replies

Write your reply to:

Draft