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 GitHub
parent 00fd468e9b
commit b240a70e51
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} />