mirror of https://github.com/logseq/logseq
enhance: fix label and reintroduce click handler
parent
11bd4209a9
commit
93c87c0d5d
|
@ -206,7 +206,7 @@
|
|||
{:key "Copy as"
|
||||
:on-click (fn [_]
|
||||
(state/set-modal! #(export/export-blocks [block-id])))}
|
||||
"Copy as")
|
||||
"Copy as...")
|
||||
|
||||
(ui/menu-link
|
||||
{:key "Cut"
|
||||
|
|
|
@ -538,6 +538,7 @@
|
|||
rum/reactive
|
||||
(mixins/event-mixin
|
||||
(fn [state]
|
||||
(mixins/listen state js/window "click" hide-context-menu-and-clear-selection)
|
||||
(mixins/listen state js/window "keydown"
|
||||
(fn [e]
|
||||
(when (= 27 (.-keyCode e))
|
||||
|
|
Loading…
Reference in New Issue