You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue only occurs when selection content's format is inconsistent with the previous content and end with breakline.Please use below html to render into lexical and do test. <span>ID:</span> <span style="color: rgb(0, 112, 192);">XXX</span><br />aa
Lexical version:
https://playground.lexical.dev
Steps To Reproduce
when copy a text like 123, double click to select content XXX and paste it, then ui show pasted content and selection content like 123XXX
Link to code example:
The current behavior
current behavior is rich content show pasted content and selection content
The expected behavior
expect ui only show pasted content, selection content should be deleted.
Impact of fix
only occurs in firefox, chrome and edge is normally.
The text was updated successfully, but these errors were encountered: