tinymce / tinymce-vue

Official TinyMCE Vue component
MIT License
2.01k stars 202 forks source link

Importing "tinymce-vue" results in requests to CDN for additional code #369

Open mryellow opened 1 year ago

mryellow commented 1 year ago

What is the current behavior? Describe the bug

import Editor from '@tinymce/tinymce-vue';

Loads resources from cdn.tiny.cloud

Resulting in an unnecessary vendor-lock where your CDN becomes the bottleneck.

What is the expected behavior?

Importing the code should import the code.

TheSpyder commented 1 year ago

Our vue integration defaults to cloud deployment, but if you have TinyMCE already loaded in the page it should not request a new one from our servers. For more information on this, see the self-hosted vue documentation: https://www.tiny.cloud/docs/tinymce/6/vue-zip/

Alternatively, you can use the tinymce-script-src configuration to direct our integration to your servers instead of our cloud: https://www.tiny.cloud/docs/tinymce/6/vue-ref/#tinymce-script-src

exalate-issue-sync[bot] commented 1 year ago

Ref: INT-3168