-
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
Add a "Move To" action to blocks #22031
Comments
Probably should have a shortcut as well. |
And an action for moving the block in and out of parent blocks (similar to list indentation). |
What might the keyboard interaction with this look like? I'm thinking we don't yet have a good pattern for keyboard-navigating nested blocks. This seems a related problem to #20732 and it would be good to have a consistent overall solution. Stepping through a possible way of solving this:
Does that make sense? Potential problems:
|
I just created a draft PR #22453 based on the solution outlined in my comment above. |
@tellthemachines should we close this one? |
Yup, it's been implemented. Closing! |
Thanks! |
I like the "Move to" functionality. Makes a lot of sense. Could there be both options -- to drag a block -and- to "Move to"? Thanks, |
@RyanBrackett Drag-and-drop was never removed, though I don't blame you for thinking that, since the drag handle is invisible in WP 5.5. (The up/down buttons double as a drag handle, though this is not obvious.) This design problem has been addressed in #24852, and the change should make it into the next major WP release (5.6), or maybe even sooner if it ends up getting backported into a minor release. |
@ZebulanStanphill Oh good! I didn't know you could drag blocks via the arrows. I'll have to try that. Thank you! I LOVED the UI of the previous version of Gutenberg. It was very soft on the eyes. The new UI feels super crisp and a bit sterile... maybe a little dry or washed out. I miss the lower contrast UI. Really wish I could pick a theme for Gutenberg. :) |
Right now it's possible to drag blocks to relocate them and move them in and outside of nested block areas. However, that interaction is only possible with drag and drop and there should be a way to do it through other means.
I think a simple one to start would be a "move to..." action in the ellipsis menu of the block (next to Duplicate) that would lift the block and turn the cursor into the "drop area" (the blue line) so you can move / pick where you want to drop a block:
Also related: #21960.
The text was updated successfully, but these errors were encountered: