Browse Source

fix: remove shortcut/disable-all-shortcuts for whiteboard

Peng Xiao 3 years ago
parent
commit
51cf9a5b0c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/main/frontend/components/whiteboard.cljs

+ 0 - 2
src/main/frontend/components/whiteboard.cljs

@@ -33,8 +33,6 @@
          (route-handler/redirect-to-whiteboard! "test"))} "test"])
 
 (rum/defcs whiteboard < rum/reactive
-  ;; whiteboard has many custom shortcut. Disable default ones to make it simplier.
-  (shortcut/disable-all-shortcuts)
   [state]
   (let [name (get-whiteboard-name state)
         tldr-name (str "draws/" name ".tldr")]