-
Notifications
You must be signed in to change notification settings - Fork 869
Closed
Description
Problem:
There is no built-in library feature that allows us to trigger a callback when the history cursor changes.
Example:
Consider a page with multiple spreadsheets, each having a custom toolbar with undo and redo operations. The requirement is that these undo and redo operations must apply across all spreadsheets. While a universal history helps achieve this, it becomes difficult to track whether the cursor is at the beginning or end of the history, which is needed to disable these operations appropriately.
Workaround:
Using setInterval to periodically check if the cursor's index has changed.
But we are not satisfied by using this workaround.
Metadata
Metadata
Assignees
Labels
No labels