mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
enhance: jump to edit the first block when creating a new page
This commit is contained in:
@@ -225,9 +225,8 @@
|
||||
(subs content 0 pos))
|
||||
content (text/remove-built-in-properties! (:block/format block)
|
||||
content)]
|
||||
(do
|
||||
(clear-selection! nil)
|
||||
(state/set-editing! edit-input-id content block text-range move-cursor?)))))))
|
||||
(clear-selection! nil)
|
||||
(state/set-editing! edit-input-id content block text-range move-cursor?))))))
|
||||
|
||||
(defn edit-last-block-for-new-page!
|
||||
[last-block pos]
|
||||
|
||||
Reference in New Issue
Block a user