Description
The pattern overrides feature currently exists primarily in the @wordpress/editor package as an extension to the default block editor.
This has caused some issues though, most recently documented in #65058. The added complexity isn't ideal, and it also likely causes some performance issues.
In a brief conversation with recently, @youknowriad mentioned an alternative, that pattern overrides could be considered a @wordpress/block-editor package feature.
Doing so would allow for removing the use of filters/slots to extend parts of the editor, and tidy up the code considerably.
The steps would be:
Description
The pattern overrides feature currently exists primarily in the
@wordpress/editorpackage as an extension to the default block editor.This has caused some issues though, most recently documented in #65058. The added complexity isn't ideal, and it also likely causes some performance issues.
In a brief conversation with recently, @youknowriad mentioned an alternative, that pattern overrides could be considered a
@wordpress/block-editorpackage feature.Doing so would allow for removing the use of filters/slots to extend parts of the editor, and tidy up the code considerably.
The steps would be: