We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e93ad8 commit 06d937eCopy full SHA for 06d937e
docs/rich-text/converting-markdown.mdx
@@ -21,7 +21,7 @@ import {
21
// Your richtext data here
22
const data: SerializedEditorState = {}
23
24
-const html = convertLexicalToMarkdown({
+const markdown = convertLexicalToMarkdown({
25
data,
26
editorConfig: await editorConfigFactory.default({
27
config, // <= make sure you have access to your Payload Config
@@ -101,7 +101,7 @@ import {
101
editorConfigFactory,
102
} from '@payloadcms/richtext-lexical'
103
104
-const html = convertMarkdownToLexical({
+const lexicalJSON = convertMarkdownToLexical({
105
106
107
}),
0 commit comments