mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
feat(block-embed): Support mod+e to copy block embed to current block (#5584)
* support mod+e to copy block embed * fix incorrect notification popup * fix notification wrap styling * remove extra files * fix yarn.lock * update yarn lock * fix comments
This commit is contained in:
@@ -145,6 +145,8 @@
|
||||
|
||||
:editor/replace-block-reference-at-point {:binding "mod+shift+r"
|
||||
:fn editor-handler/replace-block-reference-with-content-at-point}
|
||||
:editor/copy-embed {:binding "mod+e"
|
||||
:fn editor-handler/copy-current-block-embed}
|
||||
|
||||
:editor/paste-text-in-one-block-at-point {:binding "mod+shift+v"
|
||||
:fn editor-handler/paste-text-in-one-block-at-point}
|
||||
@@ -447,6 +449,7 @@
|
||||
:editor/forward-kill-word
|
||||
:editor/backward-kill-word
|
||||
:editor/replace-block-reference-at-point
|
||||
:editor/copy-embed
|
||||
:editor/paste-text-in-one-block-at-point
|
||||
:editor/insert-youtube-timestamp])
|
||||
(with-meta {:before m/enable-when-editing-mode!}))
|
||||
@@ -609,6 +612,7 @@
|
||||
:editor/forward-kill-word
|
||||
:editor/backward-kill-word
|
||||
:editor/replace-block-reference-at-point
|
||||
:editor/copy-embed
|
||||
:editor/paste-text-in-one-block-at-point
|
||||
:editor/select-up
|
||||
:editor/select-down]
|
||||
|
||||
Reference in New Issue
Block a user