mirror of
https://github.com/logseq/logseq.git
synced 2026-06-02 19:31:24 +00:00
refactor: simplify editor timeout
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
path)]
|
||||
(file/alter-file (state/get-current-repo) new-path (string/trim value)
|
||||
{:re-render-root? true})))))))
|
||||
(when-not (contains? #{:insert :indent-outdent :auto-save} (state/get-editor-op))
|
||||
(when-not (contains? #{:insert :indent :outdent} (state/get-editor-op))
|
||||
(editor-handler/save-block! (get-state state) value))))
|
||||
state)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user