mirror of https://github.com/fantasticit/think.git
fix param
This commit is contained in:
parent
1fe8524a8c
commit
4254a6fe61
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue