-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
copy+pasteRelates to Lexical Copy/PasteRelates to Lexical Copy/Paste
Description
Lexical version: latest (tested on https://playground.lexical.dev)
Steps To Reproduce
- Create multiple paragraphs.
- Set the first paragraph alignment to center or right.
- Copy the first paragraph.
- Move the cursor to another paragraph that has default left alignment.
- Paste the copied content.
Link to code example
https://playground.lexical.dev/
The current behavior
The pasted text is reset to left-aligned, even though the copied text was center- or right-aligned.
The expected behavior
The pasted text should preserve its original alignment (center or right).
Impact of fix
This affects basic formatting workflows. Users expect copy-paste to retain alignment, especially in document-style editors.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
copy+pasteRelates to Lexical Copy/PasteRelates to Lexical Copy/Paste