mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
refactor(editor): history as a store extension (#12214)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved history and undo/redo management across the app by introducing a dedicated history extension. Undo/redo operations now use a more focused undo manager, resulting in clearer and more consistent behavior. - **Documentation** - Updated API documentation to reflect changes in history management, including revised method signatures and removal of outdated event references. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -32,14 +32,6 @@ The payload can have three types:
|
||||
|
||||
***
|
||||
|
||||
### historyUpdated
|
||||
|
||||
> **historyUpdated**: `Subject`\<`void`\>
|
||||
|
||||
This fires when the history is updated.
|
||||
|
||||
***
|
||||
|
||||
### ready
|
||||
|
||||
> **ready**: `Subject`\<`void`\>
|
||||
|
||||
Reference in New Issue
Block a user