Jump to content

[SOLVED] Does the TinyMCE plugin {URL} variable only work with the defaults.json?


Boost
 Share

Recommended Posts

Hei,

I just copied the TinyMCE defaults.json and modified a few things, but the pwimage and pwlinks don't work anymore. Why does the below work, but when I use my  modified version in the "Default setting overrides JSON text", they don't? It seems it's the plugin path, so it means that the {url} only works with the defaults.json?

	"external_plugins":{
		"pwimage":"{url}plugins/pwimage.js",
		"pwlink":"{url}plugins/pwlink.js"
	},

 

Thanks.

Link to comment
Share on other sites

4 hours ago, Boost said:

so it means that the {url} only works with the defaults.json?

Yes, that's right. The replacement happens only for defaults.json, any additional settings from JSON text or file are merged afterwards.

  • Like 1
Link to comment
Share on other sites

  • Boost changed the title to [SOLVED] Does the TinyMCE plugin {URL} variable only work with the defaults.json?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...