diff --git a/src/nextjournal/clerk/render/editor.cljs b/src/nextjournal/clerk/render/editor.cljs index 2e383bca8..89390492d 100644 --- a/src/nextjournal/clerk/render/editor.cljs +++ b/src/nextjournal/clerk/render/editor.cljs @@ -325,6 +325,11 @@ {:key "Escape" :run #(reset! !show-docstring? false)}]))])) @!container-el))] + + (js/console.log :keys + (->> (.. view -state (facet keymap) flat (filter #(and (or (.-key %) (.-mac %)) (.-run %) (.. % -run -name)))) + (map #(.. % -run -name)))) + (show-notebook view) #(.destroy view)))) (code/use-dark-mode !view)