Bug: Copy Pasting inline code to the playground will paste them as code blocks #2600
Closed
Description
Lexical version: current
Steps To Reproduce
- https://github.com/facebook/lexical copy an inline code section to your clipboard, or even one from this bug post.
- https://playground.lexical.dev/ paste it here
This is also reproducible on non playground versions of the editor that have both the CodeHighlightNodes
and inline CodeNodes
block nodes.
Link to code example:
N/A
The current behavior
Pastes a multiline code block.
The expected behavior
Pastes an inline code block.