mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix: remove id property when copy block(s) text (#198)
* fix: remove id property when copy block(s) text
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
[frontend.state :as state]
|
||||
[cljs-bean.core :as bean]
|
||||
[promesa.core :as p]
|
||||
[frontend.util :as util]))
|
||||
[frontend.util :as util]
|
||||
[frontend.text :as text]))
|
||||
|
||||
(defn check-changed-files-status
|
||||
[]
|
||||
@@ -17,3 +18,7 @@
|
||||
(state/set-changed-files! repo files)))
|
||||
(p/catch (fn [error]
|
||||
(js/console.dir error)))))))
|
||||
|
||||
(defn copy-to-clipboard-without-id-property!
|
||||
[content]
|
||||
(util/copy-to-clipboard! (text/remove-id-property content)))
|
||||
|
||||
Reference in New Issue
Block a user