You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Classic block crashes when loaded into Site Editor as part of a Reusable block or post content #48938
While testing WordPress 6.2-beta5, I inserted a Reusable block into my home page in order to see the color purple.
When I opened the Site Editor the Reusable block was loaded into the post content block, but the Classic block within it encountered an error.
Uncaught TypeError: Cannot read properties of undefined (reading 'tinymce')
I've since discovered that the problem also occurs for Classic blocks being displayed in Post Content.
Adding this to the 6.2 board proactively and for consideration. It's by design that the site editor doesn't work with the classic block so I'm not quite sure what our options are here. Curious what @youknowriad thinks since you originally opened an issue about the classic block not working in the site editor, leading to it being hidden/removed.
Today I re-tested in a different site without plugins and with/without Gutenberg 15.3.1
In both cases the Classic block was converted to Custom HTML.
I'll rerun the original tests.
Activity
annezazu commentedon Mar 8, 2023
Adding this to the 6.2 board proactively and for consideration. It's by design that the site editor doesn't work with the classic block so I'm not quite sure what our options are here. Curious what @youknowriad thinks since you originally opened an issue about the classic block not working in the site editor, leading to it being hidden/removed.
Mamaduka commentedon Mar 9, 2023
Here's a recent attempt to fix Classic block failure in the Site Editor - #48129.
bobbingwide commentedon Mar 9, 2023
Today I re-tested in a different site without plugins and with/without Gutenberg 15.3.1
In both cases the Classic block was converted to Custom HTML.
I'll rerun the original tests.
bobbingwide commentedon Mar 9, 2023
Rerun with/without Gutenberg 15.3.1, the Classic blocks are converted to Custom HTML.
Mamaduka commentedon Mar 9, 2023
Thanks for re-testing, @bobbingwide!