-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Editor: Unify the DocumentTools component #57214
Conversation
997621b
to
e68595f
Compare
Size Change: -21.1 kB (-1%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
getBlockRootClientId, | ||
getBlockSelectionEnd, | ||
getSettings, | ||
} = select( blockEditorStore ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't settings also available in the store of the package? I guess we anyway add a subscription to the block editor store so it's fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work like before
e68595f
to
7e63f30
Compare
1cddb68
to
c663917
Compare
Flaky tests detected in 3d79772. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7286680102
|
d9252ce
to
3d79772
Compare
Related #52632
What?
This PR continues the work on the great unification between post and site editors. This PR unifies the DocumentTools (left part of the editor header toolbar) component between edit site and edit post.
Testing instructions