You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to add more settings to the TinyMCE editor, but without success. The Extension is not recognizing my parameters.
Here is my code:
`var p = tweak(api.parameters.instance.plugins);
var tb = tweak(api.parameters.instance.toolbar);
var mb = tweak(api.parameters.instance.menubar);
var sf = tweak(api.parameters.instance.style_formats);
var ep = tweak(api.parameters.instance.external_plugins);
var cc = tweak(api.parameters.instance.content_css);
var vb = tweak(api.parameters.instance.visualblocks_default_state);
var ec = tweak(api.parameters.instance.end_container_on_empty_block);
I've tried to add the external plugin (and content_css) in my forked repo and then pointing directly to that file, but TinyMCE isn't even trying to load that URL on init.
I don't think using the tweak function there would work for external plugins since you will return an string and the configuration takes an object. You would probably need to parse that as a JSON string instead.
I've been trying to add more settings to the TinyMCE editor, but without success. The Extension is not recognizing my parameters.
Here is my code:
`var p = tweak(api.parameters.instance.plugins);
var tb = tweak(api.parameters.instance.toolbar);
var mb = tweak(api.parameters.instance.menubar);
var sf = tweak(api.parameters.instance.style_formats);
var ep = tweak(api.parameters.instance.external_plugins);
var cc = tweak(api.parameters.instance.content_css);
var vb = tweak(api.parameters.instance.visualblocks_default_state);
var ec = tweak(api.parameters.instance.end_container_on_empty_block);
I've tried to add the external plugin (and content_css) in my forked repo and then pointing directly to that file, but TinyMCE isn't even trying to load that URL on init.
Here are my settings:
"toolbar": "undo redo | removeformat | tiny_mce_wiris_formulaEditor | help", "menubar": "edit insert", "external_plugins": { "tiny_mce_wiris": "URL to plugin" }
The text was updated successfully, but these errors were encountered: