mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
🐛 Fix HTML block pasting https://github.com/siyuan-note/siyuan/issues/12994
This commit is contained in:
parent
1a3540a767
commit
c70a46d940
@ -401,7 +401,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||||||
insertHTML(tempInnerHTML, protyle, isBlock);
|
insertHTML(tempInnerHTML, protyle, isBlock);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (tempInnerHTML.indexOf("NodeHTMLBlock")) {
|
if (-1 < tempInnerHTML.indexOf("NodeHTMLBlock")) {
|
||||||
// 复制 HTML 块粘贴出来的不是 HTML 块 https://github.com/siyuan-note/siyuan/issues/12994
|
// 复制 HTML 块粘贴出来的不是 HTML 块 https://github.com/siyuan-note/siyuan/issues/12994
|
||||||
tempInnerHTML = Lute.UnEscapeHTMLStr(tempInnerHTML);
|
tempInnerHTML = Lute.UnEscapeHTMLStr(tempInnerHTML);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user