refactor: force outliner.tree/-del to delete all children

Except the children have been moved.
This commit is contained in:
Tienson Qin
2024-04-17 17:46:51 +08:00
parent ffb4bd5a8f
commit 2a7e6accb0
13 changed files with 158 additions and 227 deletions

View File

@@ -220,7 +220,7 @@
#_:clj-kondo/ignore
(when-let [repo (state/get-current-repo)]
(when-let [block (db-model/get-block-by-uuid id)]
(editor-handler/delete-block-aux! block true))))
(editor-handler/delete-block-aux! block))))
(defn copy-hl-ref!
[highlight ^js viewer]