Ver Fonte

fix: insert-link now will send nil instead of event to the html link utility function

Junyi Du há 3 anos atrás
pai
commit
37466921a4
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/main/frontend/modules/shortcut/config.cljs

+ 1 - 1
src/main/frontend/modules/shortcut/config.cljs

@@ -255,7 +255,7 @@
 
    :editor/insert-link             {:desc    "HTML Link"
                                     :binding "mod+l"
-                                    :fn      editor-handler/html-link-format!}
+                                    :fn      #(editor-handler/html-link-format!)}
 
    :editor/select-all-blocks       {:desc    "Select all blocks"
                                     :binding "mod+shift+a"