mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
fix: whiteboard block left index on reindex
This commit is contained in:
@@ -189,6 +189,7 @@
|
||||
(remove model/whiteboard-shape? blocks)))
|
||||
|
||||
(defn- get-last-root-block
|
||||
"Get the last root Logseq block in the page. Main purpose is to calculate the new :block/left id"
|
||||
[page-name]
|
||||
(let [page-id (:db/id (model/get-page page-name))
|
||||
blocks (get-whiteboard-blocks page-name)
|
||||
|
||||
Reference in New Issue
Block a user