Handle missing custom blocks gracefully in RichEditor (v4) #17514
SeriousKen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When content contains a custom block but that block is not registered with the RichEditor field, the field shows a block with an edit and a delete button, but clicking the edit button causes an internal error. I feel there should be a more graceful way of handling this case such as hiding the block from the editor or being able to define a fallback block. I can see a situation where a package provides a block, but then this is uninstalled, leaving the reference in the content.
Beta Was this translation helpful? Give feedback.
All reactions