Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the Pattern Overrides feature to the block editor package #65486

Open
2 tasks
talldan opened this issue Sep 19, 2024 · 0 comments
Open
2 tasks

Move the Pattern Overrides feature to the block editor package #65486

talldan opened this issue Sep 19, 2024 · 0 comments
Labels
[Feature] Block bindings [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Code Quality Issues or PRs that relate to code quality

Comments

@talldan
Copy link
Contributor

talldan commented Sep 19, 2024

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:

@talldan talldan added [Type] Code Quality Issues or PRs that relate to code quality [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Feature] Block bindings labels Sep 19, 2024
@WordPress WordPress deleted a comment Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block bindings [Feature] Patterns A collection of blocks that can be synced (previously reusable blocks) or unsynced [Type] Code Quality Issues or PRs that relate to code quality
Projects
None yet
Development

No branches or pull requests

1 participant