1
0
Эх сурвалжийг харах

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

Junyi Du 3 жил өмнө
parent
commit
37466921a4

+ 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"