enhance: click to rename page

This commit is contained in:
Tienson Qin
2021-10-06 15:20:39 +08:00
parent 2503fb26bb
commit 9cdf7f78e4
5 changed files with 49 additions and 74 deletions

View File

@@ -264,11 +264,7 @@
:editor/redo
{:desc "Redo"
:binding ["shift+mod+z" "mod+y"]
:fn history/redo!}
:editor/new-page
{:desc "New page"
:binding "mod+n"
:fn #(state/pub-event! [:modal/show-new-page-modal])}}
:fn history/redo!}}
:shortcut.handler/global-prevent-default
^{:before m/prevent-default-behavior}