Lexical version: 0.10.0
Steps To Reproduce
- Open Lexical Playground in Safari
- Add an example image
- Try to place the cursor at the end of the line
The current behavior
The cursor seems to be placed at the wrong position when the last node is a DecoratorNode. This happens only in Safari.
This is a bit confusing, because only when the user starts typing the text is inserted at the correct position.

The expected behavior
The cursor should be placed at the end of the line.
Lexical version: 0.10.0
Steps To Reproduce
The current behavior
The cursor seems to be placed at the wrong position when the last node is a DecoratorNode. This happens only in Safari.
This is a bit confusing, because only when the user starts typing the text is inserted at the correct position.
The expected behavior
The cursor should be placed at the end of the line.