简体   繁体   中英

Load external TinyMCE plugin using jQuery TinyMCE

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?

Found it: There is a configuration option called external_plugins

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM