We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • I’m using 213 with the lovely  new resource browser, and something very nasty has begun to show up. If I put a MODx tag for a URL ( [~42~] ) TinyMCE converts that, adding the domain and URL-encoding the tags. Of course, this totally breaks the link generating function of MODx.
    <li><b><a href="http://www.sottwell.com/%5B%7E4%7E%5D">Articles</a>.</b> Articles and tutorials on how to create a simple snippet, set up a blog site, or create a database management module with AJAX.</li>

    That should be
    <li><b><a href="[~4~]">Articles</a>.</b> Articles and tutorials on how to create a simple snippet, set up a blog site, or create a database management module with AJAX.</li>

    I have the configuration set to entity encoding=raw and path options=docrelative.
      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
      • 4018
      • 1,131 Posts
      Go into the Configuration of the TinyMCE plugin and change the Path Options config to "docrelative". That should fix it till I can figure out how to get it to work for the full path setting. smiley

      Jeff
        Jeff Whitfield

        "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
      • I have the configuration set to entity encoding=raw and path options=docrelative.
        That’s why it’s got me baffled...although with javascript that doesn’t take much tongue
          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