mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-18 18:10:43 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
a07505a29f
@ -467,8 +467,8 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||||||
isHTML = true;
|
isHTML = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (textPlain && "" !== textPlain.trim() && textHTML.startsWith("<span") && -1 < textHTML.indexOf("white-space: pre;")) {
|
if (textPlain && "" !== textPlain.trim() && (textHTML.startsWith("<span") || textHTML.startsWith("<br"))) {
|
||||||
// 豆包复制粘贴问题 https://github.com/siyuan-note/siyuan/issues/13265
|
// 豆包复制粘贴问题 https://github.com/siyuan-note/siyuan/issues/13265 https://github.com/siyuan-note/siyuan/issues/14313
|
||||||
isHTML = false;
|
isHTML = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user