mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: update blocksuite to 0.0.0-20230512192655-e61e272b-nightly (#2352)
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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 />}
|
||||
|
||||
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user