chore: update blocksuite to 0.0.0-20230512192655-e61e272b-nightly (#2352)

This commit is contained in:
Himself65
2023-05-13 04:39:05 +08:00
committed by LongYinan
parent 1aef8862ad
commit b15eae11cf
12 changed files with 172 additions and 131 deletions

View File

@@ -17,6 +17,7 @@
"@blocksuite/editor": "*",
"@blocksuite/global": "*",
"@blocksuite/icons": "*",
"@blocksuite/lit": "*",
"@blocksuite/store": "*"
},
"dependencies": {
@@ -49,11 +50,12 @@
"rxjs": "^7.8.1"
},
"devDependencies": {
"@blocksuite/blocks": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/editor": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/global": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/icons": "^2.1.15",
"@blocksuite/store": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/blocks": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/editor": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/global": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/icons": "^2.1.16",
"@blocksuite/lit": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/store": "0.0.0-20230512070537-44e59e48-nightly",
"@storybook/addon-actions": "^7.0.10",
"@storybook/addon-coverage": "^0.0.8",
"@storybook/addon-essentials": "^7.0.10",

View File

@@ -32,7 +32,7 @@ export const Export = ({
globalThis.currentEditor!.page
);
}
contentParserRef.current.onExportHtml();
contentParserRef.current.exportHtml();
onSelect?.({ type: 'html' });
}}
icon={<ExportToHtmlIcon />}
@@ -47,7 +47,7 @@ export const Export = ({
globalThis.currentEditor!.page
);
}
contentParserRef.current.onExportMarkdown();
contentParserRef.current.exportMarkdown();
onSelect?.({ type: 'markdown' });
}}
icon={<ExportToMarkdownIcon />}

View File

@@ -29,7 +29,7 @@ export const Export: FC<ShareMenuProps> = props => {
if (!contentParserRef.current) {
contentParserRef.current = new ContentParser(props.currentPage);
}
return contentParserRef.current.onExportHtml();
return contentParserRef.current.exportHtml();
}}
>
<ExportToHtmlIcon className={svgStyle} />
@@ -41,7 +41,7 @@ export const Export: FC<ShareMenuProps> = props => {
if (!contentParserRef.current) {
contentParserRef.current = new ContentParser(props.currentPage);
}
return contentParserRef.current.onExportMarkdown();
return contentParserRef.current.exportMarkdown();
}}
>
<ExportToMarkdownIcon className={svgStyle} />

View File

@@ -4,7 +4,7 @@
"main": "./src/index.ts",
"module": "./src/index.ts",
"devDependencies": {
"@blocksuite/global": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/global": "0.0.0-20230512192655-e61e272b-nightly",
"next": "^13.4.1",
"react": "18.3.0-canary-16d053d59-20230506",
"react-dom": "18.3.0-canary-16d053d59-20230506",

View File

@@ -7,16 +7,18 @@
"jotai": "^2.1.0"
},
"devDependencies": {
"@blocksuite/blocks": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/editor": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/global": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/store": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/blocks": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/editor": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/global": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/lit": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/store": "0.0.0-20230512070537-44e59e48-nightly",
"lottie-web": "^5.11.0"
},
"peerDependencies": {
"@blocksuite/blocks": "*",
"@blocksuite/editor": "*",
"@blocksuite/global": "*",
"@blocksuite/lit": "*",
"@blocksuite/store": "*",
"lottie-web": "*"
},

View File

@@ -28,8 +28,8 @@
"idb": "^7.1.1"
},
"devDependencies": {
"@blocksuite/blocks": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/store": "0.0.0-20230509150141-055b5702-nightly",
"@blocksuite/blocks": "0.0.0-20230512192655-e61e272b-nightly",
"@blocksuite/store": "0.0.0-20230512070537-44e59e48-nightly",
"vite": "^4.3.5",
"vite-plugin-dts": "^2.3.0",
"y-indexeddb": "^9.0.11"