feat(M2): FR-E12 公式块——MathBlock 节点(KaTeX 块级渲染+可编辑源码区)+InlineMath 行内公式; SlashMenu 加 公式 项; addStorage markdown 序列化(../$..$); katex 依赖; editor-math E2E 1 项

This commit is contained in:
hunter-dev
2026-08-26 13:47:59 +08:00
parent 56735f53e6
commit 0764818ee1
6 changed files with 151 additions and 0 deletions
+2
View File
@@ -52,6 +52,7 @@
"@tiptap/starter-kit": "^3.30.2",
"@tiptap/suggestion": "^3.30.2",
"hotkeys-js": "^4.0.5",
"katex": "^0.16.47",
"lowlight": "^3.3.0",
"markmap-view": "^0.18.12",
"remark-gfm": "^4.0.1",
@@ -65,6 +66,7 @@
"devDependencies": {
"@playwright/test": "^1.62.1",
"@types/d3-drag": "^3.0.7",
"@types/katex": "^0.16.8",
"@types/d3-force": "^3.0.10",
"@types/d3-selection": "^3.0.11",
"@types/d3-zoom": "^3.0.8",