mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-18 14:35:27 +01:00
This commit is contained in:
parent
02bbd6bffd
commit
319db401c2
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {
|
|||
};
|
||||
|
||||
const deleteBlock = (updateElements: Element[], id: string, protyle: IProtyle, isUndo: boolean) => {
|
||||
if (isUndo) {
|
||||
if (isUndo && updateElements[0]) {
|
||||
focusSideBlock(updateElements[0]);
|
||||
}
|
||||
updateElements.forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue