mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
feat: bump blocksuite (#5845)
This commit is contained in:
@@ -22,14 +22,14 @@
|
||||
"storybook-addon-react-router-v6": "^2.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@blocksuite/block-std": "0.12.0-canary-202402091051-49c1eff",
|
||||
"@blocksuite/blocks": "0.12.0-canary-202402091051-49c1eff",
|
||||
"@blocksuite/global": "0.12.0-canary-202402091051-49c1eff",
|
||||
"@blocksuite/block-std": "0.12.0-canary-202402200831-bc2769f",
|
||||
"@blocksuite/blocks": "0.12.0-canary-202402200831-bc2769f",
|
||||
"@blocksuite/global": "0.12.0-canary-202402200831-bc2769f",
|
||||
"@blocksuite/icons": "2.1.44",
|
||||
"@blocksuite/inline": "0.12.0-canary-202402091051-49c1eff",
|
||||
"@blocksuite/lit": "0.12.0-canary-202402091051-49c1eff",
|
||||
"@blocksuite/presets": "0.12.0-canary-202402091051-49c1eff",
|
||||
"@blocksuite/store": "0.12.0-canary-202402091051-49c1eff",
|
||||
"@blocksuite/inline": "0.12.0-canary-202402200831-bc2769f",
|
||||
"@blocksuite/lit": "0.12.0-canary-202402200831-bc2769f",
|
||||
"@blocksuite/presets": "0.12.0-canary-202402200831-bc2769f",
|
||||
"@blocksuite/store": "0.12.0-canary-202402200831-bc2769f",
|
||||
"@storybook/addon-actions": "^7.5.3",
|
||||
"@storybook/addon-essentials": "^7.5.3",
|
||||
"@storybook/addon-interactions": "^7.5.3",
|
||||
|
||||
@@ -14,7 +14,7 @@ async function createAndInitPage(
|
||||
preview: string
|
||||
) {
|
||||
const page = workspace.createPage();
|
||||
await initEmptyPage(page, title);
|
||||
initEmptyPage(page, title);
|
||||
page.getBlockByFlavour('affine:paragraph').at(0)?.text?.insert(preview, 0);
|
||||
return page;
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ async function createAndInitPage(
|
||||
preview: string
|
||||
) {
|
||||
const page = workspace.createPage();
|
||||
await initEmptyPage(page, title);
|
||||
initEmptyPage(page, title);
|
||||
page.getBlockByFlavour('affine:paragraph').at(0)?.text?.insert(preview, 0);
|
||||
return page;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user