chore(code): enable syntax highlighting

This commit is contained in:
Elian Doran
2025-05-10 23:34:23 +03:00
parent 5a07d5a913
commit 01f02b736c
3 changed files with 24 additions and 3 deletions

View File

@@ -66,6 +66,7 @@ export default class EditableCodeTypeWidget extends AbstractCodeTypeWidget {
this._update(note, blob?.content ?? "");
});
this.codeEditor.setMimeType(note.mime);
this.show();
if (this.parent && hasTouchBar) {