#46147 closed defect (bug) (fixed)
Fix TinyMCE wpviews when running from /build
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | 5.0 |
Component: | TinyMCE | Keywords: | commit |
Focuses: | Cc: |
Description
There is a regression when running from /build and loading TinyMCE without SCRIPT_DEBUG
set to true. The wpview
plugin doesn't initialize properly in the Classic Block.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Happens because all TinyMCE plugins are concatenated together with tinymce.min.js, and the resulting wp-tinymce.js is loaded too early, before other scripts on
edit-form-blocks.php
. Sowindow.wp
doesn't exist yet when the plugins scripts run.Patch coming up.