mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-20 07:16:10 +01:00
🎨 link
This commit is contained in:
parent
e84c5deaa7
commit
4e3553f05f
1 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ export class Link extends ToolbarItem {
|
|||
}
|
||||
nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));
|
||||
updateTransaction(protyle, nodeElement.getAttribute("data-node-id"), nodeElement.outerHTML, html);
|
||||
range.setStartAfter(newElement);
|
||||
range.collapse(true);
|
||||
wbrElement.remove();
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue