Is there a way to add a plugin to a tinymce editor on demand? Meaning, after the page loads, tinymce editor has been initialized etc? Say, on click of a button?
Asked
Active
Viewed 687 times
1 Answers
1
The AddOnManager
seems to be your friend (documentation)
So it would look something like
tinymce.AddOnManager.load('myAddOn', '/scripts/addOns/myAddOn.js',
function(plugin) {
tinymce.AddOnManager.add('myAddOn', plugin);
});

Kurren
- 827
- 1
- 9
- 18