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

View File

@@ -49,6 +49,9 @@ export function _initPageWithDemoMarkdown(
page.addBlockByFlavour('affine:surface', {}, null);
const frameId = page.addBlockByFlavour('affine:frame', {}, pageBlockId);
page.addBlockByFlavour('affine:paragraph', {}, frameId);
editor.clipboard.importMarkdown(demoText, frameId);
setTimeout(() => {
// hotfix: contentParser.importMarkdown is not working in the first render
editor.contentParser.importMarkdown(demoText, frameId);
}, 0);
page.workspace.setPageMeta(page.id, { demoTitle });
}