Closed EmWa94 closed 5 months ago
Internal Ref: INT-3267
The documentation you linked to is from TinyMCE v5. As you're using TinyMCE v6, here is two ways of setting up TinyMCE React and v6: https://www.tiny.cloud/docs/tinymce/6/react-pm-host/ https://www.tiny.cloud/docs/tinymce/6/react-zip-host/ Either should work for your use case. Let us know if that helps.
This issue is stale because it has been open for 30 days with no activity. Respond with a comment or this will be closed in 7 days.
Hi,
I would like to use a self-hosted editor with premium plugins. Is there any option using React or just pure JS?
Core editor works just fine. When I try to add any premium feature to the plugin list I got en error:
because editor tries to fetch
powerpaste
plugin from location which I provided bytinymceScriptSrc
prop, I mean my local drive, not from the cloud. Is there any way to download premium plugins to my project or set fetching address to the cloud, except core plugins which I already have downloaded to my repository.As you mentioned in documentation here here I added
<script src="https://cdn.tiny.cloud/1/<my_API_key>/tinymce/6.8.1/plugins.min.js" referrerpolicy="origin"></script>
to my publicindex.html
, tohead
. I'm aware that it's not example for React, so how does it work in React environment then?Here is how I use the editor:
tinymce
:6.8.1
,@tinymce/tinymce-react
:4.3.2