feat: update block version
This commit is contained in:
@@ -10,9 +10,9 @@
|
|||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@blocksuite/blocks": "^0.2.11",
|
"@blocksuite/blocks": "^0.2.12",
|
||||||
"@blocksuite/editor": "^0.2.11",
|
"@blocksuite/editor": "^0.2.12",
|
||||||
"@blocksuite/store": "^0.2.11",
|
"@blocksuite/store": "^0.2.12",
|
||||||
"@emotion/css": "^11.10.0",
|
"@emotion/css": "^11.10.0",
|
||||||
"@emotion/react": "^11.10.4",
|
"@emotion/react": "^11.10.4",
|
||||||
"@emotion/server": "^11.10.0",
|
"@emotion/server": "^11.10.0",
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export const Editor = () => {
|
|||||||
});
|
});
|
||||||
const groupId = store.addBlock({ flavour: 'group' }, pageId);
|
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.addBlock({ flavour: 'paragraph', text }, groupId);
|
||||||
|
|
||||||
// store.resetHistory();
|
// store.resetHistory();
|
||||||
|
|||||||
43
pnpm-lock.yaml
generated
43
pnpm-lock.yaml
generated
@@ -18,9 +18,9 @@ importers:
|
|||||||
|
|
||||||
packages/app:
|
packages/app:
|
||||||
specifiers:
|
specifiers:
|
||||||
'@blocksuite/blocks': ^0.2.11
|
'@blocksuite/blocks': ^0.2.12
|
||||||
'@blocksuite/editor': ^0.2.11
|
'@blocksuite/editor': ^0.2.12
|
||||||
'@blocksuite/store': ^0.2.11
|
'@blocksuite/store': ^0.2.12
|
||||||
'@emotion/css': ^11.10.0
|
'@emotion/css': ^11.10.0
|
||||||
'@emotion/react': ^11.10.4
|
'@emotion/react': ^11.10.4
|
||||||
'@emotion/server': ^11.10.0
|
'@emotion/server': ^11.10.0
|
||||||
@@ -47,9 +47,9 @@ importers:
|
|||||||
react-dom: 18.2.0
|
react-dom: 18.2.0
|
||||||
typescript: 4.8.3
|
typescript: 4.8.3
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/blocks': 0.2.11
|
'@blocksuite/blocks': 0.2.12
|
||||||
'@blocksuite/editor': 0.2.11
|
'@blocksuite/editor': 0.2.12
|
||||||
'@blocksuite/store': 0.2.11
|
'@blocksuite/store': 0.2.12
|
||||||
'@emotion/css': 11.10.0
|
'@emotion/css': 11.10.0
|
||||||
'@emotion/react': 11.10.4_w5j4k42lgipnm43s3brx6h3c34
|
'@emotion/react': 11.10.4_w5j4k42lgipnm43s3brx6h3c34
|
||||||
'@emotion/server': 11.10.0_@emotion+css@11.10.0
|
'@emotion/server': 11.10.0_@emotion+css@11.10.0
|
||||||
@@ -164,10 +164,10 @@ packages:
|
|||||||
to-fast-properties: 2.0.0
|
to-fast-properties: 2.0.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/blocks/0.2.11:
|
/@blocksuite/blocks/0.2.12:
|
||||||
resolution: {integrity: sha512-LzdIGWMinW2thUSijG+TpgM2ol03KsJp5DED8ikq1gQ5zf14beB0Ri5Ci9ZMf5SBv5um95KEzAHChoRZi/jw+g==}
|
resolution: {integrity: sha512-hKW0ofkcY2pNbI/EfYKuOGw23R/GUSx2zedo59NZzCHm6iitKK9omEigFK25CxMbmlY5dPrswo31QQPgu6u+7w==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/store': 0.2.10
|
'@blocksuite/store': 0.2.12
|
||||||
hotkeys-js: 3.10.0
|
hotkeys-js: 3.10.0
|
||||||
lit: 2.4.0
|
lit: 2.4.0
|
||||||
quill: 1.3.7
|
quill: 1.3.7
|
||||||
@@ -178,11 +178,11 @@ packages:
|
|||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/editor/0.2.11:
|
/@blocksuite/editor/0.2.12:
|
||||||
resolution: {integrity: sha512-0r0W0x0Icti+pnpIynYCGa/FKJuGl3fbyBXW14LMH+W4tqopS1+RQ5ADofkOtRD/hvEPVH1/OffwnjLhTotMOw==}
|
resolution: {integrity: sha512-exGUJ9zBdWpPwCrFPv+u7F+xMlCksif3hRCT5dPWYt8LDVi5CcHuS5uZ0nUEgi0uSDgXyohSgOVaPl8GGYnXzA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@blocksuite/blocks': 0.2.11
|
'@blocksuite/blocks': 0.2.12
|
||||||
'@blocksuite/store': 0.2.10
|
'@blocksuite/store': 0.2.12
|
||||||
lit: 2.4.0
|
lit: 2.4.0
|
||||||
marked: 4.1.1
|
marked: 4.1.1
|
||||||
turndown: 7.1.1
|
turndown: 7.1.1
|
||||||
@@ -192,21 +192,8 @@ packages:
|
|||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
/@blocksuite/store/0.2.10:
|
/@blocksuite/store/0.2.12:
|
||||||
resolution: {integrity: sha512-8JPCMrx+PiK+fS4EqLmlVdCqF3k/UY3ABXNtfJwGiHGUGsSO64M9JOgCiC+uvwj4M9TdsClZORipod+o6EqRbQ==}
|
resolution: {integrity: sha512-dtiC95NP/dZq23nuP4/KhMQvVTSt8BvpiL86pzZ54YxvLhOga2dFmXzChEZlo3aYbJcBm4Nv+UbZRV8jylTq3w==}
|
||||||
dependencies:
|
|
||||||
lib0: 0.2.52
|
|
||||||
y-protocols: 1.0.5
|
|
||||||
y-webrtc: 10.2.3
|
|
||||||
yjs: 13.5.41
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- bufferutil
|
|
||||||
- supports-color
|
|
||||||
- utf-8-validate
|
|
||||||
dev: false
|
|
||||||
|
|
||||||
/@blocksuite/store/0.2.11:
|
|
||||||
resolution: {integrity: sha512-/TJXN6A92N8hS7LhkH0DNb2l3x/xjOTxf3HDMX4yAl46X/Hze9Ajh2cCGN3l1lhffArrbt/30H2XVIfK61mLxg==}
|
|
||||||
dependencies:
|
dependencies:
|
||||||
lib0: 0.2.52
|
lib0: 0.2.52
|
||||||
y-protocols: 1.0.5
|
y-protocols: 1.0.5
|
||||||
|
|||||||
Reference in New Issue
Block a user