mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
feat: update block version
This commit is contained in:
@@ -21,7 +21,7 @@ export const Editor = () => {
|
||||
});
|
||||
const groupId = store.addBlock({ flavour: 'group' }, pageId);
|
||||
|
||||
const text = new Text('Legend from here...');
|
||||
const text = new Text(store, 'Legend from here...');
|
||||
store.addBlock({ flavour: 'paragraph', text }, groupId);
|
||||
|
||||
// store.resetHistory();
|
||||
|
||||
Reference in New Issue
Block a user