refactor(editor): remove empty block services (#11014)
This commit is contained in:
1 parent
76dc55f328
commit
2701be8d08
5 files changed
+2
-15
No files matched your search
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user