feat(admin): codeeditor field on CodeMirror 6, loaded lazily
- Pin the seven approved CodeMirror/lezer packages exactly; lockfile integrity matches the decision note
- Lazy createCodeEditor with Go {{ }} highlighting, form hotkeys kept, Tab unbound
- Loading skeleton, chunk-failure textarea fallback, read-only pre
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -14,9 +14,16 @@
|
||||
"gen:api": "openapi-typescript openapi/admin.json -o src/api/schema.d.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/commands": "6.11.1",
|
||||
"@codemirror/lang-css": "6.3.1",
|
||||
"@codemirror/lang-html": "6.4.12",
|
||||
"@codemirror/language": "6.13.1",
|
||||
"@codemirror/state": "6.7.6",
|
||||
"@codemirror/view": "6.43.15",
|
||||
"@fontsource/dm-mono": "5.3.0",
|
||||
"@fontsource/dm-sans": "5.3.0",
|
||||
"@internationalized/date": "3.12.4",
|
||||
"@lezer/highlight": "1.2.5",
|
||||
"@lucide/vue": "1.17.0",
|
||||
"@tiptap/core": "3.31.4",
|
||||
"@tiptap/pm": "3.31.4",
|
||||
|
||||
Reference in New Issue
Block a user