Editor without theme throws error
See original GitHub issueSince 52e00b591bfc309a18b55f84c490368535be288a, editors without a theme (no theme object) throw the following error:
Uncaught (in promise) TypeError: Cannot read property 'getNotificationManagerImpl' of undefined
at getImplementation (tinymce.0421cdb5.js:25422)
at reposition (tinymce.0421cdb5.js:25434)
at <anonymous>
getImplementation @ tinymce.0421cdb5.js:25422
reposition @ tinymce.0421cdb5.js:25434
Promise rejected (async)
requestAnimationFrame @ tinymce.0421cdb5.js:479
(anonymous) @ tinymce.0421cdb5.js:25500
fire @ tinymce.0421cdb5.js:21534
fire @ tinymce.0421cdb5.js:21858
(anonymous) @ tinymce.0421cdb5.js:48492
each @ tinymce.0421cdb5.js:3495
globalEventDelegate @ tinymce.0421cdb5.js:48488
executeHandlers @ tinymce.0421cdb5.js:1055
defaultNativeHandler @ tinymce.0421cdb5.js:1082
It seems there needs to be an extra check for the theme object here: https://github.com/tinymce/tinymce/commit/52e00b591bfc309a18b55f84c490368535be288a#diff-2e5c98d81ce2481aa1042b2320728b65R37
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:42 (2 by maintainers)
Top Results From Across the Web
Getting Error When Opening Files in the Editor | WordPress.org
I tried using WP Rollback to revert to a previous version but got this message: It appears there are no version to select....
Read more >Theme Editor Stylesheet File Editor Error in WordPress
I am changing code under wp-admin/theme-editor.php. But whenever i click on upload file button, an error appears Something went wrong.
Read more >WordPress editor not working in some sites after 5.9 update
In some cases, attempts to edit a post or page throws errors. ... are working well after updating to 5.9 even without any...
Read more >Theme Editor Error: Something went wrong. Please try again ...
I have been working on my site and making edits to my theme throughout the day with no issue. All of a sudden...
Read more >How To Customize Your Pages And Posts Using Blocks
The WordPress editor uses a system of blocks to create the pages and posts on your ... If you want to keep your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi everyone, there’s no reason to keep commenting here, like spocke commented above this is wordpress specific problem so just keep an eye on their ticket instead: 🙇
https://core.trac.wordpress.org/ticket/42722
Encountering this issue as well in a WordPress 4.9.1 install. Any solutions?