v3.9.13
github-actions
released this
12 Sep 03:47
·
359 commits
to master
since this release
3.9.13 (2023-09-12)
Bug Fixes
- Array of strings was removed from support in TinyMCE6, use a plugin definition format supported my all versions (https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/#plugin-loading-format-change) (92a8a72)
- Array.concat does not modify the existing arrays, return value was previously discarded (92496e3)
- helper.js classNames was overzealous in removing classNames starting with btn- when syncing with style field, only remove those that are one of the config.js styles.btn styles (922ca80)
- Only load TinyMCE if it hasn't already been loaded by the page, this allows specific versions to be loaded outside the hardcoded version in the plugin (241a83a)
- Remove any plugins we define by default from the options if they have been removed in the loaded version of TinyMCE (de061b2)
- use the Promise interface for initialising tinymce. tinymce.editors is removed in TinyMCE6 so use the tinymce.get() and tinymce.remove() interfaces which is forwards compatible (4583b88)
- window.tinymce.editors[] is not forward compatible with later versions of TinyMCE. Use the get() method instead to retrieve the Editor instance (255ed88)