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
After dragging out an image, you can undo this operation, but unable to redo it back:
Screen.Recording.2023-12-14.at.21.51.31.mov
This usually happens due to unexpected side effect (model mutation) that comes with the undo, which resets the history stack.
After dragging an image inside the note, the first undo/redo pair works fine. But from this moment, it requires 2 undo operations to make actual undo effect:
Screen.Recording.2023-12-14.at.21.56.45.mov
This usually happens when page.captureSync() is called during a series of model operations, which will add one undo step.
By default, the UndoManger merges all operations from the same user during about 500ms (even if these operations are using multiple page.transact calls) into one undo step. Using page.captureSync() is the way to add more undo steps manually. For certain cases (e.g., batch adding images), adding more undo steps allows user to undo each operation one after another.
The text was updated successfully, but these errors were encountered:
See #5613 (review)
The text was updated successfully, but these errors were encountered: