How to dynamically load & unload a TinyMCE Plugin -
Does anyone know if I can dynamically load and unload a TinyMCE plugin in a way when TinyMCE Already loaded? Specifically, I am thinking of asking the user whether they would like to load a radio button or some above fullpage plugin on top of TinyMCE:
& lt; Input type = "radio" name = "full page" value = "enabled" /> Enable fullpage plugin & lt; Br / & gt; & Lt; Input type = "radio" name = "full page" value = "disabled" /> Disable fullpage plugin & lt; Br / & gt; & Lt; Textarea name = "tinymce" id = "tinyymce" & gt; ... & lt; / Textarea & gt; I think I can destroy the original example and load a new config (one for enable / one for disabled), but it seems that loading and unloading should be a more excellent method. Plugin
I have used TinyMCE in the past few times, and do not miss any kind of doing so On.
On examining API documents, it seems that there is only one property for plugins, and not to add any method.
It seems that loading your original example and a new config is your only option. (Unless you want to modify the TinyMCE code)
Comments
Post a Comment