solved Core Update - TinyMCE errors

elric
@elric
5 years ago
81 posts
Hello! I just upgraded Core, and started getting onLoad errors from TinyMCE (see attached screenshot and JS errors)
TinyMce.JPG
TinyMce.JPG  •  46KB


updated by @elric: 11/06/19 01:36:18AM
elric
@elric
5 years ago
81 posts
tinymce.min.js?v=1565123032:9 Failed to initialize plugin: preview Error: editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead
    at e.addButton (tinymce.min.js?v=1565123032:9)
    at Object.a [as register] (plugin.min.js:1)
    at new <anonymous> (plugin.min.js:1)
    at Yx (tinymce.min.js?v=1565123032:9)
    at Array.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Object.Kt [as each] (tinymce.min.js?v=1565123032:9)
    at Zx (tinymce.min.js?v=1565123032:9)
    at e.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Array.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Kt (tinymce.min.js?v=1565123032:9)
wd @ tinymce.min.js?v=1565123032:9
tinymce.min.js?v=1565123032:9 Failed to initialize plugin: hr Error: editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead
    at e.addButton (tinymce.min.js?v=1565123032:9)
    at Object.a [as register] (plugin.min.js:1)
    at new <anonymous> (plugin.min.js:1)
    at Yx (tinymce.min.js?v=1565123032:9)
    at Array.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Object.Kt [as each] (tinymce.min.js?v=1565123032:9)
    at Zx (tinymce.min.js?v=1565123032:9)
    at e.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Array.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Kt (tinymce.min.js?v=1565123032:9)
wd @ tinymce.min.js?v=1565123032:9
tinymce.min.js?v=1565123032:9 Failed to initialize plugin: paste Error: editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead
    at e.addButton (tinymce.min.js?v=1565123032:9)
    at Object.c [as register] (plugin.min.js:1)
    at new <anonymous> (plugin.min.js:1)
    at Yx (tinymce.min.js?v=1565123032:9)
    at Array.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Object.Kt [as each] (tinymce.min.js?v=1565123032:9)
    at Zx (tinymce.min.js?v=1565123032:9)
    at e.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Array.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Kt (tinymce.min.js?v=1565123032:9)
wd @ tinymce.min.js?v=1565123032:9
tinymce.min.js?v=1565123032:9 Failed to initialize plugin: anchor Error: editor.addButton has been removed in tinymce 5x, use editor.ui.registry.addButton or editor.ui.registry.addToggleButton or editor.ui.registry.addSplitButton instead
    at e.addButton (tinymce.min.js?v=1565123032:9)
    at Object.a [as register] (plugin.min.js:1)
    at new <anonymous> (plugin.min.js:1)
    at Yx (tinymce.min.js?v=1565123032:9)
    at Array.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Object.Kt [as each] (tinymce.min.js?v=1565123032:9)
    at Zx (tinymce.min.js?v=1565123032:9)
    at e.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Array.<anonymous> (tinymce.min.js?v=1565123032:9)
    at Kt (tinymce.min.js?v=1565123032:9)
brian
@brian
5 years ago
10,148 posts
Make sure you have updated to all the latest updates, then if you are using Chrome you have to do a TRUE browser refresh by pressing:

Command-Shift-R (on Mac)

For windows there seems to be conflicting reports of how to do it:

https://superuser.com/questions/89809/how-to-force-refresh-without-cache-in-google-chrome

Chrome unfortunately is super aggressive about caching even when it is wrong. You can also try a different browser.

NOTE: If you are using any 3rd party editor plugins, such as the "Editor Code Mirror" module, you need to disable those until Steve comes out with an update.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
elric
@elric
5 years ago
81 posts
Well....that was embarrassing. Working on a react project in Chrome right now, and purposefully keeping my cache dirty. (long story)

Thanks as always, Brian.

Cheers,
~E
brian
@brian
5 years ago
10,148 posts
elric:
Well....that was embarrassing. Working on a react project in Chrome right now, and purposefully keeping my cache dirty. (long story)

Thanks as always, Brian.

Cheers,
~E

No worries - glad that worked. Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags