mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
chore(code): use XML plugin
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"@codemirror/lang-markdown": "6.3.2",
|
||||
"@codemirror/lang-php": "6.0.1",
|
||||
"@codemirror/lang-vue": "0.1.3",
|
||||
"@codemirror/lang-xml": "6.1.0",
|
||||
"@codemirror/legacy-modes": "6.5.1",
|
||||
"@codemirror/search": "6.5.10",
|
||||
"@codemirror/view": "6.36.7",
|
||||
|
||||
@@ -166,7 +166,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
|
||||
"text/x-yacas": async () => (await import('@codemirror/legacy-modes/mode/yacas')).yacas,
|
||||
"text/x-yaml": async () => (await import('@codemirror/legacy-modes/mode/yaml')).yaml,
|
||||
"text/x-z80": async () => (await import('@codemirror/legacy-modes/mode/z80')).z80,
|
||||
"text/xml": async () => (await import('@codemirror/legacy-modes/mode/xml')).xml
|
||||
"text/xml": async () => (await import('@codemirror/lang-xml')).xml()
|
||||
}
|
||||
|
||||
export default byMimeType;
|
||||
|
||||
Reference in New Issue
Block a user