seed-hypermedia / mintter

Mintter: an app for knowledge communities. Powered by the Hypermedia protocol.
https://mintter.com
Apache License 2.0
162 stars 11 forks source link

Bug: SHIFT + TAB when images are selected removes the images #1697

Closed horacioh closed 2 months ago

horacioh commented 5 months ago

Problem

When a image is selected and the user presses SHIFT + TAB, the image is removed.

Steps to Reproduce

  1. open a draft
  2. create a image
  3. select the image
  4. press SHIFT + TAB

https://github.com/MintterHypermedia/mintter/assets/725120/9c04943b-2197-4249-a8ba-b53fedff04ef

Expected Behavior

I expect a block to be created before the image. this is relevant when the first block of the document is a image. in other cases too but specially on this one.

iskaktoltay commented 5 months ago

Shift + tab doesn't remove the image on my side @horacioh

horacioh commented 5 months ago

I still see the sam behavior as in the video in main and in production! we can review it tomorrow if you want @iskaktoltay