mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
refactor: unify heading UX for both markdown and org mode
This commit is contained in:
@@ -611,6 +611,10 @@
|
||||
template
|
||||
{:target page}))))))
|
||||
|
||||
(defmethod handle :editor/set-org-mode-heading [[_ block heading]]
|
||||
(when-let [id (:block/uuid block)]
|
||||
(editor-handler/set-heading! id :org heading)))
|
||||
|
||||
(defmethod handle :file-sync-graph/restore-file [[_ graph page-entity content]]
|
||||
(when (db/get-db graph)
|
||||
(let [file (:block/file page-entity)]
|
||||
|
||||
Reference in New Issue
Block a user