mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-23 16:56:10 +01:00
This commit is contained in:
parent
93081d57f3
commit
2769fc3e03
1 changed files with 3 additions and 1 deletions
|
|
@ -446,7 +446,9 @@ export const removeBlock = (protyle: IProtyle, blockElement: Element, range: Ran
|
|||
}
|
||||
return;
|
||||
}
|
||||
if (editableElement.textContent !== "") {
|
||||
if (editableElement.textContent !== "" ||
|
||||
// https://github.com/siyuan-note/siyuan/issues/10207
|
||||
blockElement.classList.contains("av")) {
|
||||
focusBlock(previousLastElement, undefined, false);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue