fix: internal blocks paste

This commit is contained in:
Tienson Qin
2023-03-29 00:29:38 +08:00
committed by Andelf
parent 07a3adcb52
commit bc635eaf4b
9 changed files with 108 additions and 91 deletions

View File

@@ -141,8 +141,8 @@
"copy"
(do
(util/copy-to-clipboard!
(or (:text content) (pdf-utils/fix-selection-text-breakline (.toString selection))) nil
(pdf-windows/resolve-own-window viewer))
(or (:text content) (pdf-utils/fix-selection-text-breakline (.toString selection)))
:owner-window (pdf-windows/resolve-own-window viewer))
(pdf-utils/clear-all-selection))
"link"