We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17548
    • 74 Posts
    I can’t find a solution to this that I understand. Sorry if this is a duplicate post.

    I’m running Evolution 0.9.6.3 and am having some trouble with TinyMCE rewriting my absolute urls to images as relative URLs and I can’t figure out why.

    When I insert the image using the image manager, the path in the image manager is /assets/images... but once I’m back in my document and I look at my view in the tinyMCE html mode, it’s stripped out the / in front of assets, breaking my images in the documents.

    Even when I add the leading slash in using the HTML mode, it strips it out when I go back to wysiwyg mode.

    I’m fine if I turn off TinyMCE, but my editors don’t like it.

    Any suggestions?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You should be able to adjust that setting in the Configuration tab of the TinyMCE plugin. There is a select field with three options for Path Options; rootrelative is probably what you want.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 17548
        • 74 Posts
        Thanks for your help .
        Is there any docs on the heirarchy of the *MANY* layers of configuration for the TinyMCE plugin. I was looking at the global configuration level, not at the plugin level.