perf(editor): dispose input event handler for removed blocks (#11734)
This commit is contained in:
@@ -86,7 +86,7 @@ export const getInlineRangeProvider: (
|
|||||||
};
|
};
|
||||||
const inlineRange$: InlineRangeProvider['inlineRange$'] = signal(null);
|
const inlineRange$: InlineRangeProvider['inlineRange$'] = signal(null);
|
||||||
|
|
||||||
editorHost.disposables.add(
|
element.disposables.add(
|
||||||
selectionManager.slots.changed.subscribe(selections => {
|
selectionManager.slots.changed.subscribe(selections => {
|
||||||
if (!isActiveInEditor(editorHost)) return;
|
if (!isActiveInEditor(editorHost)) return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user