mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blocksuite/blocks": "^0.2.14",
|
||||
"@blocksuite/editor": "^0.2.14",
|
||||
"@blocksuite/store": "^0.2.14",
|
||||
"@blocksuite/blocks": "^0.2.15",
|
||||
"@blocksuite/editor": "^0.2.15",
|
||||
"@blocksuite/store": "^0.2.15",
|
||||
"@emotion/css": "^11.10.0",
|
||||
"@emotion/react": "^11.10.4",
|
||||
"@emotion/server": "^11.10.0",
|
||||
|
||||
@@ -23,8 +23,7 @@ export const Editor = () => {
|
||||
|
||||
const text = new Text(store, 'Legend from here...');
|
||||
store.addBlock({ flavour: 'paragraph', text }, groupId);
|
||||
|
||||
// store.resetHistory();
|
||||
store.resetHistory();
|
||||
}, [setEditor]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user