Problem/Motivation
Currently the core/missing block is not available to use.
When this block is not enabled, then Gutenberg no longer has a fallback block to use when a block is unrecognized.
This results in unsupported/missing block types being automatically removed, rather than being persisted as raw HTML until the editor decides what to do with it.
Steps to reproduce
1. Add a core/quote block to a piece of content, and save it.
2. Disable the Quote block in the "Gutenberg Experience" setting for that content type.
3. Go back to edit the same piece of content, and the quote will now be deleted without the user being away.
Proposed resolution
Add the core/missing block by default so that sites which disable blocks don't lose existing content referencing it when it's edited.
Remaining tasks
Add MR.
User interface changes
N/A
| Comment | File | Size | Author |
|---|
Issue fork gutenberg-3573075
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
codebymikey commentedAddressed and backported to 8.x-2.x.
Comment #8
codebymikey commentedAttached static patch for 2.x