-
Notifications
You must be signed in to change notification settings - Fork 30
Description
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);
api.window.startAutoResizer();
tinymce.init({
selector: "#editor",
plugins: p,
toolbar: tb,
menubar: mb,
style_formats: sf,
external_plugins: ep,
content_css: cc,
visualblocks_default_state: vb,
end_container_on_empty_block: ec,`
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" }