mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 09:00:12 +01:00
This commit is contained in:
parent
070d0f4f2d
commit
dd1554e997
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
||||||
tempElement.querySelectorAll("[data-node-id]").forEach((e) => {
|
tempElement.querySelectorAll("[data-node-id]").forEach((e) => {
|
||||||
const newId = Lute.NewNodeID();
|
const newId = Lute.NewNodeID();
|
||||||
e.setAttribute("data-node-id", newId);
|
e.setAttribute("data-node-id", newId);
|
||||||
|
e.removeAttribute("custom-riff-decks");
|
||||||
e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl");
|
e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl");
|
||||||
e.setAttribute("updated", newId.split("-")[0]);
|
e.setAttribute("updated", newId.split("-")[0]);
|
||||||
isBlock = true;
|
isBlock = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue