tinymce / tinymce-vue

Official TinyMCE Vue component
MIT License
2.08k stars 208 forks source link

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

Closed mryellow closed 4 months 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

tiny-stale-bot commented 4 months ago

This issue is stale because it has been open 30 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 7 days.

tiny-stale-bot commented 4 months ago

This issue was closed because it has been stalled for 7 days with no activity.