diff --git a/packages/core/foundation/handle-edit.ts b/packages/core/foundation/handle-edit.ts index 5b9b2835f..9122dc5d0 100644 --- a/packages/core/foundation/handle-edit.ts +++ b/packages/core/foundation/handle-edit.ts @@ -158,6 +158,8 @@ function handleInsert({ reference = null; } + parent.insertBefore(node, reference); + if (parentNode) { // undo: move child node back to original place return {