You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drag and drop target marker not shown when there is only one paragraph #42365
When there's only one paragraph, the blue image drop marker is not being shown, which makes it unclear where the image is going to land when dropped.
Step-by-step reproduction instructions
Write a post consisting of just a title and a single line (paragraph) of text
Drag and drop an image, try to drop it before or after the paragraph. It's unclear where it is going to land.
Screenshots, screen recording, code snippet
I'm attaching two videos. In the first one you can see the blue marker is not displayed, thus not making easy to tell where (and if) the image is going to drop.
In the second one you can see it working between paragraphs, but still doesn't show before the first one, or after the last one.
no-marker.mp4marker.mp4
Environment info
Gutenberg: v13.6.0
Theme: Twenty Twenty Two
WordPress version: 6.0-RC4-53438
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
There's one situation where is still doesn't work, which is the default block appender that appears when first creating a post (the text that says "Type / to choose a block"). There's also #42722 that may end up being a reasonable way to fix that.
I'll close this and report that problem in another issue (#44064).
Activity
kathrynwp commentedon Jul 12, 2022
I was able to replicate this with:
WordPress: 6.0
Gutenberg: 13.6.0
Theme: Twenty Twenty-Two
With Gutenberg deactivated, the issue is not present and the blue image drop marker does appear as expected.
talldan commentedon Sep 12, 2022
This is fixed as of #43135.
There's one situation where is still doesn't work, which is the default block appender that appears when first creating a post (the text that says "Type / to choose a block"). There's also #42722 that may end up being a reasonable way to fix that.
I'll close this and report that problem in another issue (#44064).