[Block Editor]: Better block transforms organization#44072
Conversation
f5e2e93 to
54d4f63
Compare
|
Size Change: +1.09 kB (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
packages/block-editor/src/components/block-switcher/block-transformations-menu.js
Show resolved
Hide resolved
|
I agree with @jameskoster. Seeing "Quote" as the first transformation option for the Image block doesn't make sense. I think eventually, we would need to handle grouping and priorities on the Transformations API level, and that falls into the future improvement section 😄 |
I think it's weird to see it at all for that one, can we just exclude it? :) |
I'll open a follow up for this. @mtias do you mean exclude the transformation in general or just don't separate it? In general I agree with George that we need to fine tune these in Transformations API. |
|
I think the "Quote" is a recent addition to the global transformations after v2 - #25892. |
|
I mean excluding quote from some of those global transformation cases |


What?
Part of: #40208
This PR just prioritizes some 'content' (ex. paragraph -> heading) block transformations in the available transformations list.
Testing Instructions
paragraph, heading, list, quotetransforms, they are prioritized in a separate menu groupScreenshots or screencast