Merge branch 'master' of github.com:toeverything/AFFINE-pathfinder into feat/layout

This commit is contained in:
QiShaoXuan
2022-10-24 14:16:56 +08:00
3 changed files with 19 additions and 20 deletions
+3 -3
View File
@@ -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",
+1 -2
View File
@@ -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 (