-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to edit Classic Block on regular (web) editor #24696
Comments
I can reproduce the issue on WP 5.5 with Gutenberg 8.8.0 |
The problem has not been resolved with WordPress 5.5.1 and Gutenberg 8.9.1 In my opinion, this issue deserves more attention. To users who are editing content that was created a long time before the block editor was introduced it might appear that the content has been lost. They may not be aware of the workaround to switch to the code editor. To reproduce:
Note: If you don't click on the Classic block, then the Console log does not display the TypeError. |
The problem occurs when Jetpack 8.9 is activated. |
I have reproduced the problem in a local development environment. Theme: Twenty Twenty 1.5 Sometimes the problem doesn't occur on first edit, but does when you reload the editor with the Ctrl key pressed. Possible workaroundIf deactivating Gutenberg or Jetpack is not an option, then a possible workaround is to activate the Test jQuery Updates plugin ( wp-jquery-update-test ) and set the jQuery version to 3.5; jQuery Migrate can be Enable or Disable. |
I'm also encountering this error as well as @bobbingwide confirmed although I am not able to consistently reproduce it and I can't determine why yet. The content is still present when I view it through the code editor. I'm able to reproduce this across Gutenberg 8.9.0, 8.9.1 and 8.9.2 (I haven't tested anything earlier(. |
…25169) Adds a regression test in the client block E2E spec to avoid the regression of the Classic block, per this issue: #24696, as suggested in #25162 (comment). Co-authored-by: Bernie Reiter <ockham@raz.or.at>
Describe the bug
This seems related to #24563, however I didn't see an issue or patch for the regular web editor. After saving a post with a Classic Block, the contents of the Classic Block are not visible and the block encounters a JS error when used.
To reproduce
Steps to reproduce the behavior:
Cannot read property 'getContent' of null
:Expected behavior
I expected the block content of Classic Block to render correctly when editing a saved post.
Screenshots
See steps to reproduce above.
Editor version (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: