TinyMCE script loading #3405
Labels
Framework
Issues related to broader framework topics, especially as it relates to javascript
[Status] Needs More Info
Follow-up required in order to be actionable.
[Type] Build Tooling
Issues or PRs related to build tooling
Issue Overview
Currently, TinyMCE is loaded through a custom url used mostly for an easy way of getting nightlies at the start of the project. This should move to use NPM to pull down TinyMCE.
There also isn't really any reason why WP couldn't use the same TinyMCE for Gutenberg as for the "old" editor page (if the updates remain in sync). Ending up with the script included twice with different versions would be bad practice.
These are the lines affected in Gutenberg.
https://github.com/WordPress/gutenberg/blob/master/lib/client-assets.php#L244
Current Behavior
Script is loaded vi a custom url.
Possible Solution
Should pull down TinyMCE via NPM or similar.
The text was updated successfully, but these errors were encountered: