mirror of
https://github.com/logseq/logseq.git
synced 2026-05-28 14:39:48 +00:00
enhance(ux): show only the first line of block title for name cells
This commit is contained in:
@@ -215,7 +215,11 @@
|
||||
{:align :start})
|
||||
(editor-handler/edit-block! block :max {:container-id :unknown-container}))))))}
|
||||
(if block
|
||||
[:div (inline-title (:block/title block))]
|
||||
[:div (inline-title
|
||||
(some->> (:block/title block)
|
||||
string/trim
|
||||
string/split-lines
|
||||
first))]
|
||||
[:div])]))
|
||||
|
||||
(defn build-columns
|
||||
|
||||
Reference in New Issue
Block a user