mirror of
https://github.com/logseq/logseq.git
synced 2026-05-01 09:26:28 +00:00
fix: auto resize for single block
This commit is contained in:
@@ -2417,7 +2417,7 @@
|
||||
(let [el (rum/dom-node state)]
|
||||
(loop [el el]
|
||||
(cond (nil? el) false
|
||||
(and (.-classList el) (.. el -classList (contains "single-block-wrapper"))) true
|
||||
(and (.-classList el) (.. el -classList (contains "single-block"))) true
|
||||
:else (recur (.-parentElement el))))))
|
||||
|
||||
(defn keydown-new-block-handler [state e]
|
||||
|
||||
Reference in New Issue
Block a user