Lexical version: v0.12.0
Steps To Reproduce
- Create code block at end of a line
- Try to exit with right arrow, clicking to the right of the block,
Enter, or other key entries/inputs

The current behavior
Cannot exit a code block without use of the formatting toolbar
The expected behavior
Most editors allow a right arrow or a click outside (to the leading edge/cursor side) of the code block to 'exit' it and go back to unformatted text. In effect, you're 'stuck' in the code block.
I've submitted this as a bug as it seems like unexpected behavior, but I could see it as a feature request as well.
Lexical version: v0.12.0
Steps To Reproduce
Enter, or other key entries/inputsThe current behavior
Cannot exit a code block without use of the formatting toolbar
The expected behavior
Most editors allow a right arrow or a click outside (to the leading edge/cursor side) of the code block to 'exit' it and go back to unformatted text. In effect, you're 'stuck' in the code block.
I've submitted this as a bug as it seems like unexpected behavior, but I could see it as a feature request as well.