fix(code): unable to search in read-only code notes

This commit is contained in:
Elian Doran 2025-10-03 16:09:32 +03:00
parent dbb90bdd2b
commit f6898779bb
No known key found for this signature in database

View File

@ -45,14 +45,4 @@ export default class ReadOnlyCodeTypeWidget extends AbstractCodeTypeWidget {
readOnly: true
};
}
async executeWithContentElementEvent({ resolve, ntxId }: EventData<"executeWithContentElement">) {
if (!this.isNoteContext(ntxId)) {
return;
}
await this.initialized;
resolve(this.$editor);
}
}