WordPress/gutenberg

Column block: Dropping block into an empty column using a drop zone.

Open

#30 699 ouverte le 10 avr. 2021

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)JavaScript (9 607 stars) (3 893 forks)batch import
Good First Issue[Block] Columns[Feature] Drag and Drop[Type] Enhancement

Description

What problem does this address?

Column-drop-zone

https://user-images.githubusercontent.com/5323259/114276235-08ae2f80-9a26-11eb-985e-26866d31c030.mp4

Dropping happens "above" the main Column area (It looks like it).

What is your proposed solution?

Adding a drop zone to the Columns block when it is empty. Going from the above into something similar to this drop zone area for the Cover block.

Cover-block-drop-zone

For the empty Column: Column-drop-zone-mockup

Guide contributeur