mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
feat(editor): improve api for store, and add docs (#10941)
This commit is contained in:
@@ -24,7 +24,13 @@ export interface Doc {
|
||||
dispose(): void;
|
||||
|
||||
slots: {
|
||||
/**
|
||||
* This fires when the doc history is updated.
|
||||
*/
|
||||
historyUpdated: Subject<void>;
|
||||
/**
|
||||
* This fires when the doc yBlock is updated.
|
||||
*/
|
||||
yBlockUpdated: Subject<
|
||||
| {
|
||||
type: 'add';
|
||||
|
||||
Reference in New Issue
Block a user