mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-26 10:16:10 +01:00
This commit is contained in:
parent
1f3fbc5d39
commit
7cdc42e190
2 changed files with 14 additions and 6 deletions
|
|
@ -502,6 +502,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||
return;
|
||||
} else if (files && files.length > 0) {
|
||||
uploadFiles(protyle, files);
|
||||
return;
|
||||
} else if (textPlain.trim() !== "" && files && files.length === 0) {
|
||||
if (range.toString() !== "") {
|
||||
const firstLine = textPlain.split("\n")[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue