mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
fix: disable shortcuts for rename dialog
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
[frontend.context.i18n :as i18n]
|
||||
[reitit.frontend.easy :as rfe]
|
||||
[frontend.text :as text]
|
||||
[frontend.modules.shortcut.core :as shortcut]
|
||||
[frontend.handler.block :as block-handler]))
|
||||
|
||||
(defn- get-page-name
|
||||
@@ -156,6 +157,7 @@
|
||||
(t :cancel)]]]])))
|
||||
|
||||
(rum/defcs rename-page-dialog-inner <
|
||||
(shortcut/disable-all-shortcuts)
|
||||
(rum/local "" ::input)
|
||||
[state title page-name close-fn]
|
||||
(let [input (get state ::input)]
|
||||
|
||||
Reference in New Issue
Block a user