Make WordPress Core

Opened 5 years ago

Last modified 4 years ago

#48789 new enhancement

Provide ability to drag and drop images among and between Gutenberg Blocks

Reported by: pcosta88's profile Pcosta88 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Editor Keywords: reporter-feedback
Focuses: ui Cc:

Description

It is not possible to drag and drop images between the different GB blocks. For Example, if I make an image Block I cannot drag the image out of the block and drop into another block.

Therefore, to improve UX WordPress should provide the ability to drag and drop images among and between Gutenberg Blocks

Change History (5)

#1 @SergeyBiryukov
5 years ago

  • Component changed from General to Editor

#2 @happy hooligans
5 years ago

Crossing fingers this will be something we'll be able to do in the near future. As I convert posts from the Classic Editor to Blocks, I'm adding a "how-to" block to man of them. It would be most convenient to be able to drag the existing post images into the steps in the how-to block.

#3 @noisysocks
4 years ago

  • Keywords reporter-feedback added

Hi @Pcosta88. What would you expect dragging an image from an image block into another block to do? Blocks are standalone pieces of content in the block editor. You can drag an image block into a new place, and you can drag an image block into a block that supports children (e.g. Group), but it does not make sense in my mind to be able to drag an image block into e.g. a Paragraph block.

#4 @Pcosta88
4 years ago

@noisysocks

Hi,

If you can drag an image block into a new place and if you can drag an image block into a block that supports children, why shouldn't users also be able to drag the image block into a paragraph block?

This feature would help with user experience. If users want to redo content on the page they currently have to remove the images from the page and re-add them. That's a lot of extra steps and clicks and time.

When instead, users can drag and drop the image block into a paragraph block or other blocks and have the image appear right away.

#5 @noisysocks
4 years ago

What do you expect to happen when you drag an image block into the paragraph block? Would the paragraph block be replaced? Or split into two paragraphs?

I'm having a hard time envisioning how this would work, as in my mind, a paragraph block is a discrete piece of content: you can drag an image block before or after a paragraph block, but not into it.

Note: See TracTickets for help on using tickets.