ui: use monaco for yaml fields

This commit is contained in:
undefined committed 2021-05-12 12:34:09 +08:00
1 parent b928ef5773
commit 9632b425d5
2 files changed
+2 -1

No files matched your search

@@ -31,6 +31,7 @@ export default class Editor extends DOMAttachedObject {
super($dom);
this.options = options;
if (UserContext.preferredEditorType === 'monaco') this.initMonaco();
else if (options.language && options.langua !== 'markdown') this.initMonaco();
else this.initVditor();
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.8.8",
"version": "4.8.9",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",