tinymce / tinymce-react

Offical TinyMCE React component
MIT License
937 stars 152 forks source link

The editor spend a long time to initialize when first load. #463

Closed wangwanlin-97 closed 7 months ago

wangwanlin-97 commented 11 months ago

What is the current behavior? As the title, it is slow because it fetch plugins from cdn although plugins are already in subfolders.

image

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.

What is the expected behavior?

I wonder is there any way to use existed plugin filed other than fetch form cdn.

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-react?

@tinymce/tinymce-react": "^4.3.0

exalate-issue-sync[bot] commented 11 months ago

Ref: INT-3212

danoaky-tiny commented 7 months ago

You can choose to use your package manager to host TinyMCE, see either (depending on your implementation): https://www.tiny.cloud/docs/tinymce/6/react-pm-host/ https://www.tiny.cloud/docs/tinymce/6/react-pm-bundle/

If you're using premium plugins, then you can also use a hybrid mode to achieve this. Let us know and we can help further if needed.