feat(paste): toggle between pasting text or file when they both exist (#7198)

* feat(paste): toggle between pasting text or file when they both exist
This commit is contained in:
situ2001
2022-11-09 11:15:41 +08:00
committed by GitHub
parent e326e39576
commit 1a216aa1aa
5 changed files with 44 additions and 23 deletions

View File

@@ -649,6 +649,10 @@ Similar to re-frame subscriptions"
[]
(:editor/logical-outdenting? (sub-config)))
(defn perferred-pasting-file?
[]
(:editor/perferred-pasting-file? (sub-config)))
(defn doc-mode-enter-for-new-line?
[]
(and (document-mode?)