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
If a post type template contains an old embed block for a specific platform (e.g. WordPress TV), the editor will crash with a WSOD when trying to create a new post, essentially as described in #21718.
To reproduce
Register a new post type and give it a template like:
'template' => [
[ 'core-embed/wordpress-tv' ],
]
Navigate to the Add New screen for that post type.
You should get a White Screen Of Death. If you view the browser console, you'll see an error:
Uncaught (in promise) Error: Block type ‘core-embed/wordpress-tv’ is not registered.
Expected behavior
I would expect the editor to be able to recognize and convert the old WordPress TV embed block into the new Embed block with the WordPress TV block variation, as happens here.
Editor version:
WordPress version: 5.6-alpha-49153
Does the website has Gutenberg plugin installed, or is it using the block editor that comes by default? default
Desktop (please complete the following information):
OS: MacOS 10.15.7
Browser: Firefox
Version: 81.0.1
The text was updated successfully, but these errors were encountered:
Describe the bug
If a post type template contains an old embed block for a specific platform (e.g. WordPress TV), the editor will crash with a WSOD when trying to create a new post, essentially as described in #21718.
To reproduce
Expected behavior
I would expect the editor to be able to recognize and convert the old WordPress TV embed block into the new Embed block with the WordPress TV block variation, as happens here.
Editor version:
default
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: