mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
Adds :outliner/block-title-collapse-enabled? configuration option
This commit is contained in:
@@ -3385,9 +3385,11 @@
|
||||
(and
|
||||
(not (util/collapsed? block))
|
||||
(or (db-model/has-children? block-id)
|
||||
(block-with-title? (:block/format block)
|
||||
(:block/content block)
|
||||
semantic?)))
|
||||
(and
|
||||
(:outliner/block-title-collapse-enabled? (state/get-config))
|
||||
(block-with-title? (:block/format block)
|
||||
(:block/content block)
|
||||
semantic?))))
|
||||
false))))
|
||||
|
||||
(defn all-blocks-with-level
|
||||
|
||||
Reference in New Issue
Block a user