chore: bump version (#1597)

This commit is contained in:
Himself65
2023-03-16 22:07:57 -04:00
committed by GitHub
parent 88f662e6f6
commit 953188e76b
10 changed files with 906 additions and 859 deletions
+6 -3
View File
@@ -71,9 +71,12 @@ const PreviewPage: NextPage<PreviewPageProps> = ({
pageBlockId
);
page.addBlockByFlavour('affine:paragraph', {}, frameId);
editor.clipboard.importMarkdown(text, frameId).then(() => {
page.resetHistory();
});
setTimeout(() => {
// hotfix: contentParser.importMarkdown is not working in the first render
editor.contentParser.importMarkdown(text, frameId).then(() => {
page.resetHistory();
});
}, 0);
}}
/>
<StyledToolWrapper>