1

I use the TinyMCE jQuery plugin to assign TinyMCE to an input field (on document ready). Now, I wrote a plugin for TinyMCE and want to load it. The problem is, since the jQuery plugin loads the TinyMCE js file only when it's required, I can't just include my plugin js file since the "tinymce" object isn't loaded at this point. How can I load my plugin at the right time?

1
  • One quick hack would be adding your plugin to the same file of the tinymce one. Commented May 22, 2015 at 9:53

1 Answer 1

3

Found it: There is a configuration option called external_plugins

https://www.tiny.cloud/docs/configure/integration-and-setup/#external_plugins

Sign up to request clarification or add additional context in comments.

1 Comment

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.