From 74354d6620a58bdec8201a87170d03166afbba75 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 9 Jan 2025 11:27:50 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/13763 --- 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 94f1df9d2..a7c95ec74 100644 --- a/app/src/protyle/util/paste.ts +++ b/app/src/protyle/util/paste.ts @@ -411,6 +411,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven e.removeAttribute(Constants.CUSTOM_RIFF_DECKS); e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl"); e.setAttribute("updated", newId.split("-")[0]); + e.querySelector(".protyle-attr--refcount")?.remove(); isBlock = true; }); if (nodeElement.classList.contains("table")) {