This commit is contained in:
Vanessa 2022-06-16 12:11:21 +08:00
parent aade1e56f3
commit 1679df6209
3 changed files with 11 additions and 11 deletions

View file

@ -481,7 +481,7 @@ export const focusSideBlock = (updateElement: Element) => {
if (!sideBlockElement) {
sideBlockElement = updateElement;
}
focusBlock(sideBlockElement);
focusBlock(sideBlockElement, undefined, collapse);
return;
}
const range = getEditorRange(updateElement);