From dd1554e997b8c1993644d9412add835da794a2d5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 21 Mar 2023 11:38:56 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/7733 --- app/src/protyle/util/paste.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts index 958ba9d21..b72b6a742 100644 --- a/app/src/protyle/util/paste.ts +++ b/app/src/protyle/util/paste.ts @@ -178,6 +178,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven tempElement.querySelectorAll("[data-node-id]").forEach((e) => { const newId = Lute.NewNodeID(); e.setAttribute("data-node-id", newId); + e.removeAttribute("custom-riff-decks"); e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl"); e.setAttribute("updated", newId.split("-")[0]); isBlock = true;