mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 04:48:48 +01:00
This commit is contained in:
parent
21baed3ad4
commit
4aa0724224
1 changed files with 1 additions and 2 deletions
|
|
@ -646,13 +646,12 @@ export class Toolbar {
|
|||
(currentNode.getAttribute("data-inline-memo-content") || ""));
|
||||
}
|
||||
}
|
||||
startContainer = currentNode;
|
||||
if (currentType.includes("inline-math")) {
|
||||
startContainer = currentNode;
|
||||
startOffset = null;
|
||||
} else {
|
||||
if (i === newNodes.length) {
|
||||
endOffset = previousElement.textContent.length;
|
||||
startContainer = currentNode;
|
||||
} else {
|
||||
startOffset = previousElement.textContent.length;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue