Lexical version: 0.31.2
Steps To Reproduce
- In Playground, create Code block and input multilines.
- Triple-click any text.

The current behavior
Triple-click selects the whole parent element of the clicked line.
The expected behavior
Triple-click selects the clicked line.
Impact of fix
This bug affects triple-click selections when selected line is in multiline container element such as:
- QuoteNode in RichText mode
- CodeNode in RichText mode
- Anything in PlainText mode
Lexical version: 0.31.2
Steps To Reproduce
The current behavior
Triple-click selects the whole parent element of the clicked line.
The expected behavior
Triple-click selects the clicked line.
Impact of fix
This bug affects triple-click selections when selected line is in multiline container element such as: