feat: add clipboard text serializer to parse editor content
This commit is contained in:
parent
836005aaff
commit
71cf05c820
1 changed files with 3 additions and 0 deletions
|
|
@ -89,6 +89,9 @@ const PostTextarea = forwardRef<
|
|||
return true
|
||||
}
|
||||
return false
|
||||
},
|
||||
clipboardTextSerializer(content) {
|
||||
return parseEditorJsonToText(content.toJSON())
|
||||
}
|
||||
},
|
||||
content: postEditorCache.getPostContentCache({ defaultContent, parentEvent }),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue