WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.51k stars 4.2k forks source link

Inline Images no longer show handles when selected #15083

Open maddisondesigns opened 5 years ago

maddisondesigns commented 5 years ago

Describe the bug Previously when you selected an inline image, it was surround by image handles that showed that it was selected.

inline-image-block

Now, when you click an Inline Image, it no longer shows the image handles which makes it look like it's not actually selected. This makes it extremely confusing, especially if you try to select the image because you want to delete it.

Gutenberg_InlineImage

To reproduce Steps to reproduce the behavior:

  1. Insert Inline Image
  2. Select image
  3. View that image handles no longer appear

Expected behavior Image handles, or even just a border, should surround the image to give the user some sort of visual indication that the image is actually selected.

Desktop (please complete the following information):

jorgefilipecosta commented 5 years ago

Hi @maddisondesigns, thank you for reporting this issue. This seems to be a browser specific problem when testing on chrome it is possible to see the image get a blue overlay to indicate selection: image

On firefox that's not the case.

maddisondesigns commented 5 years ago

@jorgefilipecosta The blue overlay makes it look like you've simply dragged your cursor over the image rather than actually selecting it by clicking on the image. The original image handles on the corners make it look like like it's actually been selected, whereas this doesn't. Also people are used to seeing image handles as this is what happens when you select images/galleries in the Classic Editor now, and what happened before WP5.0 was even released. What it's doing now is inconsistent with what people would expect to happen.

On top of that, even in Chrome, the overlay disappears when you put your cursor in the number field, which takes us back to the original issue of making it look like it's not selected again.

screenshot_17
annezazu commented 1 year ago

Looping back on some older issues and with WP 6.2 RC2, I can't replicate this:

Screen Shot 2023-03-16 at 4 52 57 PM

Closing out as a result but let me know if I'm missing something and we can reopen!

annezazu commented 1 year ago

Ah! I can replicate this. I was misunderstanding the "inline image" option. Apologies:

Screen Shot 2023-03-16 at 4 54 24 PM

Reopening and confirming it's still an active issue.