ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Adding media embed does not move focus out of the toolbar

Open mateuszzagorski opened this issue 2 years ago • 1 comments

📝 Provide detailed reproduction steps (if any)

  1. Open the examples, classic-editor predefined build in docs
  2. Either focus editor's toolbar with keyboard, or select media-embed with mouse
  3. Insert media embed.

✔️ Expected result

Media embed is correctly selected, and you can continue to type freely.

❌ Actual result

https://user-images.githubusercontent.com/11699569/181756554-c817575b-2a19-453d-bc93-d07705275f24.mov

It looks as if the focus is on both the toolbar and on the added media. You can't type, and when pressing enter it will open the media-embed dropdown again.

📃 Other details

  • Browser: Chrome, Firefox, Safari

It works a bit differently on Safari, as trying to add any letter/number once moves the focus back on the added element.


If you'd like to see this fixed sooner, add a 👍 reaction to this post.

mateuszzagorski avatar Jul 29 '22 12:07 mateuszzagorski

Fixed by #12178 with the small exception of an issue covered here: #12207 (doesn't occur with balloon toolbar)

Acrophost avatar Aug 05 '22 08:08 Acrophost