mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
wip
wip
This commit is contained in:
@@ -821,6 +821,7 @@
|
||||
([edit-input-id content block cursor-range]
|
||||
(set-editing! edit-input-id content block cursor-range true))
|
||||
([edit-input-id content block cursor-range move-cursor?]
|
||||
(println "set-editing!")
|
||||
(when (and edit-input-id block
|
||||
(or
|
||||
(publishing-enable-editing?)
|
||||
@@ -854,6 +855,7 @@
|
||||
|
||||
(defn clear-edit!
|
||||
[]
|
||||
(println "clear-edit!")
|
||||
(swap! state merge {:editor/editing? nil
|
||||
:editor/block nil
|
||||
:cursor-range nil
|
||||
|
||||
Reference in New Issue
Block a user