mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
fdd9973d24
commit
ad3aaab34a
5 changed files with 575 additions and 146 deletions
|
|
@ -227,9 +227,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
|
|||
const newId = Lute.NewNodeID();
|
||||
e.setAttribute("data-node-id", newId);
|
||||
e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl");
|
||||
if (e.getAttribute("updated")) {
|
||||
e.setAttribute("updated", newId.split("-")[0]);
|
||||
}
|
||||
e.setAttribute("updated", newId.split("-")[0]);
|
||||
isBlock = true;
|
||||
});
|
||||
if (nodeElement.classList.contains("table")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue