-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Labels
product: superdocsource: githubstage: triageNew issue. Needs initial assessment and classificationNew issue. Needs initial assessment and classificationtype: bugSomething is broken or not working as expectedSomething is broken or not working as expected
Description
What happened?
In suggesting mode, when a user makes a change, the text is highlighted (via track-change marks) and a comment is automatically created. When there is only one suggestion and the user presses Undo, the
highlight is correctly removed from the text, but the comment remains visible in the UI. When there are multiple suggestions, undo works correctly for all of them. The bug only manifests when undoing the
last (or only) tracked-change comment.
Steps to reproduce
- Open a document in edit mode
- Enable suggesting mode (track changes)
- Type some text — a suggestion highlight and comment are created
- Press Ctrl+Z (Undo)
- Expected: Both the highlight and the comment are removed
- Actual: The highlight is removed but the comment remains visible
SuperDoc version
1.16.0
Browser
Chrome
Additional context
- Works correctly when there are multiple suggestions — undoing any one of them correctly removes both highlight and comment
- The bug only occurs when undoing the last remaining suggestion
- Redo (Ctrl+Shift+Z) after the undo should restore both the highlight and the comment
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
product: superdocsource: githubstage: triageNew issue. Needs initial assessment and classificationNew issue. Needs initial assessment and classificationtype: bugSomething is broken or not working as expectedSomething is broken or not working as expected
