Merge branch 'master' into enhance/i18n

This commit is contained in:
Mega Yu
2026-04-17 20:26:15 +08:00
81 changed files with 568 additions and 1073 deletions

View File

@@ -160,8 +160,8 @@
(config-handler/set-config! :feature/enable-journals? true)
(notification/show! (t :settings.features/journals-enabled) :success)))
(-> (p/let [res (ui-outliner-tx/transact!
{:outliner-op :delete-page}
(outliner-op/delete-page! page-uuid))]
{:outliner-op :delete-page}
(outliner-op/delete-page! page-uuid))]
(if res
(when ok-handler (ok-handler))
(when error-handler (error-handler))))

View File

@@ -1084,8 +1084,6 @@
(:db/id page)
:page))))))
(declare save-current-block!)
;; FIXME: shortcut `mod+.` doesn't work on Web (Chrome)
(defn zoom-in! []
(if (state/editing?)