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) => {
|
const parse = (filename: string, markdown: string) => {
|
||||||
try {
|
try {
|
||||||
const prosemirrorNode = markdownToProsemirror({
|
const prosemirrorNode = markdownToProsemirror({
|
||||||
|
editor,
|
||||||
schema: editor.schema,
|
schema: editor.schema,
|
||||||
content: markdown,
|
content: markdown,
|
||||||
needTitle: true,
|
needTitle: true,
|
||||||
|
|
Loading…
Reference in New Issue