mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🎨 Improve HTML clipping https://github.com/siyuan-note/siyuan/issues/14460
This commit is contained in:
parent
e8ce39c778
commit
85c4910183
1 changed files with 1 additions and 1 deletions
|
|
@ -466,7 +466,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||
isHTML = true;
|
||||
}
|
||||
|
||||
if (textPlain && "" !== textPlain.trim() && (textHTML.startsWith("<span") || textHTML.startsWith("<br"))) {
|
||||
if (textPlain && "" !== textPlain.trim() && (textHTML.startsWith("<span") || textHTML.startsWith("<br")) && 0 > textHTML.indexOf("class=\"katex")) {
|
||||
// 豆包复制粘贴问题 https://github.com/siyuan-note/siyuan/issues/13265 https://github.com/siyuan-note/siyuan/issues/14313
|
||||
isHTML = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue