lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Bug: wrong display position after creating a code block from selected text.

Open lovepsm94 opened this issue 1 year ago • 0 comments

When selecting text and creating a code block, the resulting code block appears in an incorrect position. Instead of being inserted at the location of the selected text, the code block is either displaced or appears in an unintended area of the document. This misalignment disrupts the document's layout and workflow, causing confusion and additional manual adjustments by the user.

Steps To Reproduce

Please watch this video:

https://github.com/facebook/lexical/assets/64115961/deefc84c-14d3-48a9-b608-fd26879af5d2

The expected behavior

image

lovepsm94 avatar Jun 19 '24 03:06 lovepsm94