mirror of https://github.com/logseq/logseq
fix: copying whiteboard shapes into outliner
parent
b9f3bee43c
commit
e9edd91003
|
@ -68,8 +68,9 @@
|
|||
|
||||
(defn- get-whiteboard-tldr-from-text
|
||||
[text]
|
||||
(when-let [matched-text (util/safe-re-find #"<whiteboard-tldr>(.*)</whiteboard-tldr>" text)]
|
||||
(try-parse-as-json (gp-util/safe-decode-uri-component (second matched-text)))))
|
||||
(when-let [matched-text (util/safe-re-find #"<whiteboard-tldr>(.*)</whiteboard-tldr>"
|
||||
(gp-util/safe-decode-uri-component text))]
|
||||
(try-parse-as-json (second matched-text))))
|
||||
|
||||
(defn- get-whiteboard-shape-refs-text
|
||||
[text]
|
||||
|
|
Loading…
Reference in New Issue