mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-17 03:51:36 +08:00
chore(code): use html plugin
This commit is contained in:
parent
2fe09147fd
commit
e5402abae0
@ -20,6 +20,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/commands": "6.8.1",
|
||||
"@codemirror/lang-html": "6.4.9",
|
||||
"@codemirror/lang-markdown": "6.3.2",
|
||||
"@codemirror/lang-php": "6.0.1",
|
||||
"@codemirror/lang-vue": "0.1.3",
|
||||
|
@ -28,7 +28,7 @@ const byMimeType: Record<string, (() => Promise<StreamParser<unknown> | Language
|
||||
"text/apl": async () => (await import('@codemirror/legacy-modes/mode/apl')).apl,
|
||||
"text/coffeescript": async () => (await import('@codemirror/legacy-modes/mode/coffeescript')).coffeeScript,
|
||||
"text/css": async () => (await import('@codemirror/legacy-modes/mode/css')).css,
|
||||
"text/html": async () => (await import('@codemirror/legacy-modes/mode/xml')).html,
|
||||
"text/html": async () => (await import('@codemirror/lang-html')).html(),
|
||||
"text/jinja2": async () => (await import('@codemirror/legacy-modes/mode/jinja2')).jinja2,
|
||||
"text/jsx": null,
|
||||
"text/mirc": async () => (await import('@codemirror/legacy-modes/mode/mirc')).mirc,
|
||||
|
74
pnpm-lock.yaml
generated
74
pnpm-lock.yaml
generated
@ -1157,6 +1157,9 @@ importers:
|
||||
'@codemirror/commands':
|
||||
specifier: 6.8.1
|
||||
version: 6.8.1
|
||||
'@codemirror/lang-html':
|
||||
specifier: 6.4.9
|
||||
version: 6.4.9
|
||||
'@codemirror/lang-markdown':
|
||||
specifier: 6.3.2
|
||||
version: 6.3.2
|
||||
@ -15077,14 +15080,6 @@ snapshots:
|
||||
- supports-color
|
||||
- utf-8-validate
|
||||
|
||||
'@ckeditor/ckeditor5-alignment@45.0.0':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-icons': 45.0.0
|
||||
'@ckeditor/ckeditor5-ui': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-utils': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
ckeditor5: 45.0.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
|
||||
|
||||
'@ckeditor/ckeditor5-alignment@45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
@ -15097,15 +15092,6 @@ snapshots:
|
||||
- supports-color
|
||||
- utf-8-validate
|
||||
|
||||
'@ckeditor/ckeditor5-autoformat@45.0.0':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-engine': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-heading': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-typing': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-utils': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
ckeditor5: 45.0.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
|
||||
|
||||
'@ckeditor/ckeditor5-autoformat@45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
@ -15250,17 +15236,6 @@ snapshots:
|
||||
- supports-color
|
||||
- utf-8-validate
|
||||
|
||||
'@ckeditor/ckeditor5-code-block@45.0.0(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-clipboard': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-engine': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-enter': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-icons': 45.0.0
|
||||
'@ckeditor/ckeditor5-ui': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-utils': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
ckeditor5: 45.0.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
|
||||
|
||||
'@ckeditor/ckeditor5-code-block@45.0.0(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-clipboard': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
@ -15502,14 +15477,6 @@ snapshots:
|
||||
- supports-color
|
||||
- utf-8-validate
|
||||
|
||||
'@ckeditor/ckeditor5-easy-image@45.0.0':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-cloud-services': 45.0.0
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-upload': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-utils': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
ckeditor5: 45.0.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
|
||||
|
||||
'@ckeditor/ckeditor5-easy-image@45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-cloud-services': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
@ -15658,17 +15625,6 @@ snapshots:
|
||||
- supports-color
|
||||
- utf-8-validate
|
||||
|
||||
'@ckeditor/ckeditor5-essentials@45.0.0':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-clipboard': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-enter': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-select-all': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-typing': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-ui': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-undo': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
ckeditor5: 45.0.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
|
||||
|
||||
'@ckeditor/ckeditor5-essentials@45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-clipboard': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
@ -15752,14 +15708,6 @@ snapshots:
|
||||
- supports-color
|
||||
- utf-8-validate
|
||||
|
||||
'@ckeditor/ckeditor5-highlight@45.0.0':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-icons': 45.0.0
|
||||
'@ckeditor/ckeditor5-ui': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-utils': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
ckeditor5: 45.0.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
|
||||
|
||||
'@ckeditor/ckeditor5-highlight@45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
@ -16346,7 +16294,7 @@ snapshots:
|
||||
'@ckeditor/ckeditor5-track-changes@45.0.0':
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-clipboard': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-code-block': 45.0.0(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)
|
||||
'@ckeditor/ckeditor5-code-block': 45.0.0(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-comments': 45.0.0
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-editor-multi-root': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
@ -16355,7 +16303,7 @@ snapshots:
|
||||
'@ckeditor/ckeditor5-find-and-replace': 45.0.0
|
||||
'@ckeditor/ckeditor5-font': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-heading': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-highlight': 45.0.0
|
||||
'@ckeditor/ckeditor5-highlight': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-icons': 45.0.0
|
||||
'@ckeditor/ckeditor5-image': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-link': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
@ -21783,8 +21731,8 @@ snapshots:
|
||||
ckeditor5@45.0.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41):
|
||||
dependencies:
|
||||
'@ckeditor/ckeditor5-adapter-ckfinder': 45.0.0
|
||||
'@ckeditor/ckeditor5-alignment': 45.0.0
|
||||
'@ckeditor/ckeditor5-autoformat': 45.0.0
|
||||
'@ckeditor/ckeditor5-alignment': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-autoformat': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-autosave': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-basic-styles': 45.0.0
|
||||
'@ckeditor/ckeditor5-block-quote': 45.0.0
|
||||
@ -21793,9 +21741,9 @@ snapshots:
|
||||
'@ckeditor/ckeditor5-ckfinder': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-clipboard': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-cloud-services': 45.0.0
|
||||
'@ckeditor/ckeditor5-code-block': 45.0.0(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)
|
||||
'@ckeditor/ckeditor5-code-block': 45.0.0(patch_hash=2361d8caad7d6b5bddacc3a3b4aa37dbfba260b1c1b22a450413a79c1bb1ce95)(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-core': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-easy-image': 45.0.0
|
||||
'@ckeditor/ckeditor5-easy-image': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-editor-balloon': 45.0.0
|
||||
'@ckeditor/ckeditor5-editor-classic': 45.0.0
|
||||
'@ckeditor/ckeditor5-editor-decoupled': 45.0.0
|
||||
@ -21804,12 +21752,12 @@ snapshots:
|
||||
'@ckeditor/ckeditor5-emoji': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-engine': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-enter': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-essentials': 45.0.0
|
||||
'@ckeditor/ckeditor5-essentials': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-find-and-replace': 45.0.0
|
||||
'@ckeditor/ckeditor5-font': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-fullscreen': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-heading': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-highlight': 45.0.0
|
||||
'@ckeditor/ckeditor5-highlight': 45.0.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)
|
||||
'@ckeditor/ckeditor5-horizontal-line': 45.0.0
|
||||
'@ckeditor/ckeditor5-html-embed': 45.0.0
|
||||
'@ckeditor/ckeditor5-html-support': 45.0.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user