question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Editor without theme throws error

See original GitHub issue

Since 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:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:42 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
fyrkantcommented, Jan 22, 2018

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

3reactions
kpettingacommented, Dec 5, 2017

Encountering this issue as well in a WordPress 4.9.1 install. Any solutions?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found