-
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
Duotone: add block controls on the inspector #48405
Conversation
Size Change: +382 B (0%) Total Size: 1.35 MB
ℹ️ View Unchanged
|
0815dd4
to
dda0cef
Compare
Flaky tests detected in 8577539. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4618012053
|
dda0cef
to
8577539
Compare
/> | ||
</BlockControls> | ||
<> | ||
<InspectorControls |
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.
Instead of doing this, you should check how the other panels (typography, border, color) do it (reuse the panels used in global styles). Basically this should use the new FiltersPanel
that I added in my PR, instead of rendering DuotoneControl directly.
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.
thanks for pointing that out! I just rebased your PR, this still needs a lot of work, but I'll look into that
This PR tries to do too many things at once, I'm going to break it in two: #49838 |
What?
This is a WIP and it's not ready for review.
This PR aims to simplify the Duotone picker that shows on the block Toolbar and have the full controls appear on the Inspector controls. The option to create a custom duotone will be exclusive to the inspector to free space on the toolbar popover as discussed in #39452
Part of #39452
Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast