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

Performance: reduce block support hook calls further with isMatch #62684

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix general style generation
  • Loading branch information
ellatrix committed Jun 24, 2024
commit ec545da3ebc2a8884afbc42df5f5becdb2ba1225
1 change: 0 additions & 1 deletion packages/block-editor/src/hooks/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ export default {
hasSupport: hasStyleSupport,
addSaveProps,
attributeKeys: [ 'style' ],
isMatch: ( { style } ) => !! style?.elements,
useBlockProps,
};

Expand Down
Loading