refactor(editor): migrate to Milkdown with LaTeX support and clean up legacy code

- Removed old contenteditable-based MarkdownEditor component
- Integrated Milkdown Crepe with LaTeX (KaTeX) rendering support
- Simplified inline suggestion plugin using ProseMirror decorations
- Removed debug logging and unused components (HelloWorld, plan files)
- Increased debounce from 150ms to 500ms for better performance
- Fixed SSE JSON serialization in backend main.py
This commit is contained in:
“ydy0615”
2026-02-12 18:52:16 +08:00
parent 2432e78fe1
commit 16e76e1e90
14 changed files with 487 additions and 2300 deletions
+2 -1
View File
@@ -14,8 +14,9 @@
"@milkdown/kit": "^7.18.0",
"@milkdown/theme-nord": "^7.18.0",
"@milkdown/vue": "^7.18.0",
"axios": "^1.13.2",
"katex": "^0.16.9",
"markdown-it": "^13.0.0",
"markdown-it-math": "^3.0.2",
"pinia": "^2.3.1",
"prismjs": "^1.29.0",
"vue": "^3.5.24",