fix: page rename undo/redo

This commit is contained in:
Tienson Qin
2024-01-14 16:33:50 +08:00
parent 54106610cb
commit 029ed109b9
7 changed files with 39 additions and 31 deletions

View File

@@ -14,7 +14,6 @@
(defn save-code-editor!
[]
(let [{:keys [config state editor]} (get @state/state :editor/code-block-context)]
(state/set-state! :editor/skip-saving-current-block? true)
(state/set-block-component-editing-mode! false)
(when editor
(.save editor)