Opened 9 years ago
Closed 9 years ago
#27739 closed defect (bug) (fixed)
Load the minified TinyMCE in production
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.9 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | TinyMCE | Keywords: | commit has-patch |
Focuses: | Cc: |
Description
Currently we load tinymce.js (non-minified) when running from /src and when we detect compression issues or SCRIPT_DEBUG is enabled in /build. This is quite handy for debugging all editor related code.
For the release (production) we will have to exclude tinymce.js (950KB) and switch to loading tinymce.min.js. It would be nice to keep the non-minified version and load it only when running from /src.
Attachments (3)
Change History (9)
#2
@
9 years ago
In 27739.patch: load tinymce.js when running from /src, else load tinymce.min.js or wp-tinymce.js.gz. Also fixes and cleans up wp-tinymce.php.
This ticket was mentioned in IRC in #wordpress-dev by nacin. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
This ticket is mostly a reminder to start loading tinymce.min.js and stop copying tinymce.js to /build before release.