5 | | Similarly tinymce.js was loaded after `tinyMCEPreInit` was defined, now it loads before. Both happen as tinymce.js is now always enqueued through script-loader, regardless of where it is used. |
| 5 | Similarly `tinyMCEPreInit` was defined before tinymce.js was loaded, now it's defined after. This is especially important as TinyMCE looks for `tinyMCEPreInit` to get some predefined settings, see https://github.com/tinymce/tinymce/blob/7dfd8102cadfb35e7304cacec7f122aa9e81b1ad/src/core/main/ts/api/EditorManager.ts#L195. |
| 6 | |
| 7 | Both happen as tinymce.js is now always enqueued through script-loader, regardless of where it is used. |