Stop relying on CDN for TinyMCE
See original GitHub issueThe CDN version of TinyMCE has been broken for the last week or so - see https://github.com/tinymce/tinymce/issues/4171 . This has broken the dashboard for any site that uses the default dashboard setup - and with our current setup there is no way to fix this other than to monkey-patch dashboard/layout.html
and use a different CDN.
I think this highlights the risks of using a CDN where we cannot control the minor version of the package (there is no way to specify minor version for that CDN). The maintainers of TinyMCE offer a different CDN (cloud.tinymce.com) as an alternative, but this one requires you to sign up for an API key.
I think it would be better for Oscar to provide a local copy of TinyMCE to avoid such issues in future.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Announcement: TinyMCE CDN Reminder
Hence, we want to remind you access to TinyMCE 4 via our legacy CDN (https://cdn.tinymce.com/) is being removed on February 25, 2021. If...
Read more >global is not defined (v4.7.5) · Issue #4171 · tinymce ...
on v4.7.5, using jquery breaks with an error: "global is not defined". the plugin include this line "...=global || window" which is invalid....
Read more >How to disable TinyMce cdn for one textarea?
The editor_deselector: configuration option was depreciated starting with TinyMCE 4.x. Tiny's selector option utilizes CSS selector syntax ...
Read more >How to setup TinyMCE in your Rails app using Webpack
If you previously had tinyMCE implemented via CDN, you'd like to get rid of some stuff, to start clean. Remove the script link...
Read more >I am amazed how Drupal add TinyMCE as a module!
TinyMCE adds line breaks unnecessarily, how do I stop that? ... tiny configs and not have to rely on whether the plugin author...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@fyrkant yep, that’s the plan. Thank you for fixing the issue upstream as well though,
You should be able to install TinyMCE with npm and copy it over with gulp like you seem to do with bootstrap! Then you can lock the version in the package.json.