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.
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.
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