Open TehAwol opened 1 year ago
Which browser/OS did you use. Works well on Mac/Chrome:
Have had same issue on Brave (Chromium) and Firefox. Seems to be intimately linked with copying and pasting several paragraphs.
Image below of behaviour on Firefox
Can you do a recording?
With text copied and pasted directly from a lorem ipsum generator.
The issue is happening if the text has justify format. I am working on a fix https://github.com/facebook/lexical/pull/5657
https://github.com/facebook/lexical/assets/63897375/09a60c66-032c-46c1-9dbe-47f590f96653
I was recording in chromiom based browser. In firefox it is not working too. In webkit it does work as I far as I tested.
Lexical version: v0.10.0 (latest)
Steps To Reproduce
Link to code example: Reproducible on playground
The current behavior
Multiple line selection presence is only shown on the initial and last line. Lines in between are not highlighted at all except a tiny slit at the end of the line.
The expected behavior
All lines should be highlighted the same as the initial and the last line.