This commit is contained in:
Vanessa 2022-09-23 23:30:01 +08:00
parent 1034e71467
commit 3e4f6c5587
8 changed files with 14 additions and 16 deletions

View file

@ -54,7 +54,7 @@ export class InlineMath extends ToolbarItem {
} else {
range.setStartAfter(newElement);
range.collapse(true);
focusByRange(range)
focusByRange(range);
nodeElement.setAttribute("updated", dayjs().format("YYYYMMDDHHmmss"));
updateTransaction(protyle, nodeElement.getAttribute("data-node-id"), nodeElement.outerHTML, html);
wbrElement.remove();