mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
chore(code): enable syntax highlighting
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user