Vanessa 2025-12-28 16:54:30 +08:00
parent 43bf12743c
commit 30ff7c0d13
6 changed files with 33 additions and 17 deletions

View file

@ -191,7 +191,8 @@ export const insertEmptyBlock = (protyle: IProtyle, position: InsertPosition, id
protyle,
selectsElement: position === "afterend" ? [blockElement, blockElement.nextElementSibling] : [blockElement.previousElementSibling, blockElement],
type: "BlocksMergeSuperBlock",
level: "row"
level: "row",
unfocus: true,
});
}
focusByWbr(protyle.wysiwyg.element, range);