This commit is contained in:
parent
573f04c1ee
commit
7b01685c5c
1 changed files with 2 additions and 1 deletions
|
@ -141,7 +141,8 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran
|
|||
}
|
||||
// https://github.com/siyuan-note/siyuan/issues/5485
|
||||
// https://github.com/siyuan-note/siyuan/issues/10389
|
||||
if (type === "remove" && sideIsNext) {
|
||||
// https://github.com/siyuan-note/siyuan/issues/10899
|
||||
if (type !== "Backspace" && sideIsNext) {
|
||||
focusBlock(sideElement);
|
||||
} else {
|
||||
focusBlock(sideElement, undefined, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue