mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
fc66472637
commit
a4953fa945
14 changed files with 28 additions and 21 deletions
|
|
@ -237,7 +237,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||
isBlock = false;
|
||||
}
|
||||
// 从历史中复制后粘贴
|
||||
tempElement.querySelectorAll('[spellcheck="false"][contenteditable="false"]').forEach((e) => {
|
||||
tempElement.querySelectorAll('[contenteditable="false"][spellcheck]').forEach((e) => {
|
||||
e.setAttribute("contenteditable", "true");
|
||||
});
|
||||
const tempInnerHTML = tempElement.innerHTML;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue