mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
fix: copying whiteboard shapes into outliner
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user