fix(editor): copy with both plain and rich text

This commit is contained in:
Andelf
2022-05-31 21:25:02 +08:00
committed by Tienson Qin
parent c297748bd8
commit 88b3962dd0
4 changed files with 12 additions and 13 deletions

View File

@@ -16,9 +16,7 @@
(defn copy-to-clipboard-without-id-property!
[format raw-text html]
(util/copy-to-clipboard! (property/remove-id-property format raw-text))
(when html
(util/copy-to-clipboard! html true)))
(util/copy-to-clipboard! (property/remove-id-property format raw-text) html))
(defn config-with-document-mode
[config]