feat: add clipboard text serializer to parse editor content
This commit is contained in:
@@ -89,6 +89,9 @@ const PostTextarea = forwardRef<
|
||||
return true
|
||||
}
|
||||
return false
|
||||
},
|
||||
clipboardTextSerializer(content) {
|
||||
return parseEditorJsonToText(content.toJSON())
|
||||
}
|
||||
},
|
||||
content: postEditorCache.getPostContentCache({ defaultContent, parentEvent }),
|
||||
|
||||
Reference in New Issue
Block a user