Split raw and formatted paste to prevent future coupling bugs

This commit is contained in:
Gabriel Horner
2023-03-17 18:15:54 -04:00
committed by Gabriel Horner
parent 72298d23c8
commit 7a905583cf
3 changed files with 53 additions and 39 deletions

View File

@@ -170,7 +170,7 @@
:fn editor-handler/copy-current-block-embed}
:editor/paste-text-in-one-block-at-point {:binding "mod+shift+v"
:fn (fn [_state e] ((paste-handler/editor-on-paste! nil true) e))}
:fn paste-handler/editor-on-paste-raw!}
:editor/insert-youtube-timestamp {:binding "mod+shift+y"
:fn commands/insert-youtube-timestamp}