mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 02:16:30 +00:00
fix pasting in src block not working on iOS
close https://github.com/logseq/logseq/issues/4914
This commit is contained in:
@@ -3177,8 +3177,9 @@
|
||||
input (state/get-input)]
|
||||
(if-not (string/blank? text)
|
||||
(if (thingatpt/org-admonition&src-at-point input)
|
||||
(do (util/stop e)
|
||||
(paste-text-in-one-block-at-point))
|
||||
(when-not (mobile-util/native-ios?)
|
||||
(util/stop e)
|
||||
(paste-text-in-one-block-at-point))
|
||||
(paste-text text e))
|
||||
(let [_handled
|
||||
(let [clipboard-data (gobj/get e "clipboardData")
|
||||
|
||||
Reference in New Issue
Block a user