-
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
Restore Unquote button #51934
base: trunk
Are you sure you want to change the base?
Restore Unquote button #51934
Conversation
Size Change: +107 B (0%) Total Size: 1.42 MB
ℹ️ View Unchanged
|
} ), | ||
] | ||
: innerBlocks, | ||
ungroup, |
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.
What might be better here is introduce a new key "unwrap" and only show these at the top of the block switcher. Then this also wouldn't show up as "Ungroup" in the Options dropdown
@richtabor Apologies, should be fixed now. |
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.
I find it hard to believe that users are confused by converting a quote block back to a paragraph block. Would it make sense to simply give the transform menu item a little more context? Unquote, convert to paragraph. Users...
An alternative is to add a transform to "Paragraph", although the transform can technically contain any type of block within the Quote block (re InnerBlocks). That's the hang-up between "transform to paragraph" vs. "transform to unquote". That PR was merged, though I suspect this may be better suited — to have "Unquote" as an option, instead of "Paragraph". |
What?
Restores the Unquote button (previously Unwrap), which was removed in #50385.
This is a quick and dirty PR, I'm open to suggestions.
Why?
Users cannot find how to unquote.
How?
Reuses the new ungroup API introduced in above PR.
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast