refactor(editor): remove empty block services (#11014)

This commit is contained in:
Saul-Mirone
2025-03-19 15:52:21 +00:00
parent 76dc55f328
commit 2701be8d08
5 changed files with 2 additions and 15 deletions
@@ -195,6 +195,7 @@ export class EdgelessAutoConnectWidget extends WidgetComponent<RootBlockModel> {
const notes = root.children.filter(child =>
matchModels(child, [NoteBlockModel])
);
const edgelessOnlyNotesSet = new Set<NoteBlockModel>();
notes.forEach(note => {