New Composer: cannot move the caret in between kbd formatting and letters

If you have a <kbd>block, you can’t move the caret after it but before the next character.

The video below demonstrates the difficulty in adding/editing the first character after a <kbd> block.

1 Like

This is the “expected” behavior of a HTML content editable - inside and outside an inline node is considered a single position.

The inline code is a great example of an alternative: it shows a fake cursor at that single position, so when you arrow navigate, it’s the same position with different marks, and slightly shifted visually.

I believe an ideal state will be supporting that same behavior for other types of content.

2 Likes

… and this is why I don’t use WYSIWYG editors when possible :laughing:

3 Likes

Exactly. They just never work quite right no matter how much they are refined. I’ve seen this type of bug in so many WYSIWYG editors.

1 Like