mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
chore: simplify indent && outdent code
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
:upload-images))))
|
||||
(editor-handler/clear-when-saved!)
|
||||
;; TODO: ugly
|
||||
(when-not (contains? #{:insert :indent :outdent :auto-save :undo :redo} (state/get-editor-op))
|
||||
(when-not (contains? #{:insert :indent-outdent :auto-save :undo :redo} (state/get-editor-op))
|
||||
(editor-handler/save-block! (get-state) value)))
|
||||
state)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user