mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 03:40:15 +01:00
🚨
This commit is contained in:
parent
49e0dec799
commit
d1fad76bf8
6 changed files with 29 additions and 29 deletions
|
|
@ -111,7 +111,7 @@ export const insertEmptyBlock = (protyle: IProtyle, position: InsertPosition, id
|
|||
updateListOrder(newElement.parentElement, orderIndex);
|
||||
updateTransaction(protyle, newElement.parentElement.getAttribute("data-node-id"), newElement.parentElement.outerHTML, parentOldHTML);
|
||||
} else {
|
||||
let doOperations: IOperation[]
|
||||
let doOperations: IOperation[];
|
||||
if (position === "beforebegin") {
|
||||
doOperations = [{
|
||||
action: "insert",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue