feat(gesture): tweak action bar

This commit is contained in:
llcc
2022-05-06 11:11:50 +08:00
parent f32397b5c2
commit a8c75cf679
4 changed files with 25 additions and 10 deletions

View File

@@ -962,9 +962,7 @@
(defn select-block!
[block-uuid]
(let [blocks (js/document.getElementsByClassName (str block-uuid))]
(when (seq blocks)
(state/exit-editing-and-set-selected-blocks! blocks))))
(block-handler/select-block! block-uuid))
(defn- compose-copied-blocks-contents
[repo block-ids]