fix param

This commit is contained in:
fantasticit 2022-12-17 19:40:22 +08:00
parent 1fe8524a8c
commit 4254a6fe61
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ export const createMarkdownParser = () => {
const parse = (filename: string, markdown: string) => {
try {
const prosemirrorNode = markdownToProsemirror({
editor,
schema: editor.schema,
content: markdown,
needTitle: true,