You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm setting up tinymce React integration using this project and it's my understanding that I need to copy files from node_modules/tinymce to the public directory, and then use tinymceScriptSrc='tinymce/tinymce.min.js' to point to the correct script. That's fine and I have it working. For example this is detailed in this discussion: #182
My question is, how am I supposed to register a custom plugin? I can't import tinymce and use tinymce.PluginManager.add because that's referencing a tinymce script other than the one the react component will load.
In tiny 5, I had used this setup code in the init prop:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm setting up tinymce React integration using this project and it's my understanding that I need to copy files from node_modules/tinymce to the public directory, and then use
tinymceScriptSrc='tinymce/tinymce.min.js'
to point to the correct script. That's fine and I have it working. For example this is detailed in this discussion: #182My question is, how am I supposed to register a custom plugin? I can't import tinymce and use
tinymce.PluginManager.add
because that's referencing a tinymce script other than the one the react component will load.In tiny 5, I had used this setup code in the
init
prop:But that's not valid in tiny 7 anymore and I can't find any access source to PluginManager through the
editor
object anymore.Beta Was this translation helpful? Give feedback.
All reactions