mirror of https://github.com/logseq/logseq
fix: cut paste inline tags
parent
8f3cdc9d94
commit
c21e8c5545
|
@ -9,14 +9,16 @@
|
||||||
[goog.object :as gobj]
|
[goog.object :as gobj]
|
||||||
[goog.dom :as gdom]
|
[goog.dom :as gdom]
|
||||||
["ignore" :as Ignore]
|
["ignore" :as Ignore]
|
||||||
[goog.functions :refer [debounce]]))
|
[goog.functions :refer [debounce]]
|
||||||
|
[frontend.db :as db]))
|
||||||
|
|
||||||
(defn copy-to-clipboard-without-id-property!
|
(defn copy-to-clipboard-without-id-property!
|
||||||
[repo format raw-text html blocks]
|
[repo format raw-text html blocks]
|
||||||
(util/copy-to-clipboard! (property-handler/remove-id-property repo format raw-text)
|
(let [blocks' (map (fn [b] (assoc b :block/title (:block/raw-title (db/entity (:db/id b))))) blocks)]
|
||||||
:html html
|
(util/copy-to-clipboard! (property-handler/remove-id-property repo format raw-text)
|
||||||
:graph repo
|
:html html
|
||||||
:blocks blocks))
|
:graph repo
|
||||||
|
:blocks blocks')))
|
||||||
|
|
||||||
(defn config-with-document-mode
|
(defn config-with-document-mode
|
||||||
[config]
|
[config]
|
||||||
|
|
Loading…
Reference in New Issue