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
Bug: After pasting a link, I focused on the URL input and pressed Ctrl+Z (undo). The latest node inserted was the link, but the other part of the text is being undone, and the undo command isn't reflected in the tree view.
#6714
Open
Nagendra7509 opened this issue
Oct 8, 2024
· 1 comment
I typed some text and pasted a link. After clicking on the URL input and pressing Ctrl+Z (Undo), the other text was undone instead of undoing the link. However, this action was not reflected in the tree view, leaving me unsure if the undo command was executed.
Upon pressing Ctrl+Z again, the focus shifted back to the URL input, and the previously removed text was restored, indicating that the undo command was executed.
After performing the undo action twice, I returned to the initial state.
Peek.2024-10-08.11-47.mp4
Lexical version: 0.18.0
Steps To Reproduce
Enter some text in the editor.
Paste the link.
Click on the Edit icon in the Link Popup.
Press Ctrl + Z.
Again Press Ctrl + Z.
The text was updated successfully, but these errors were encountered:
Nagendra7509
changed the title
Bug: After pasting a link, I focused on the URL input and pressed Ctrl+Z (undo). The latest node inserted was the link, but the other of the text is being undone, and the undo command isn't reflected in the tree view.
Bug: After pasting a link, I focused on the URL input and pressed Ctrl+Z (undo). The latest node inserted was the link, but the other part of the text is being undone, and the undo command isn't reflected in the tree view.
Oct 8, 2024
I typed some text and pasted a link. After clicking on the URL input and pressing
Ctrl+Z
(Undo), the other text was undone instead of undoing the link. However, this action was not reflected in the tree view, leaving me unsure if the undo command was executed.Upon pressing
Ctrl+Z
again, the focus shifted back to the URL input, and the previously removed text was restored, indicating that the undo command was executed.After performing the undo action twice, I returned to the initial state.
Peek.2024-10-08.11-47.mp4
Lexical version: 0.18.0
Steps To Reproduce
Edit
icon in the Link Popup.The text was updated successfully, but these errors were encountered: