ForcePilot/web/src/utils
supreme0597 b31776e405 feat(web): 在 renderMarkdown 中集成 SVG 渲染(DOMPurify 默认已支持 SVG)
- 导入 renderSvgBlocks() 并在 markdown-it 渲染前调用
- cacheKey 基于 SVG 转换后的内容,保证缓存一致性
- DOMPurify 配置保持不变(默认白名单已支持 SVG)
2026-05-25 21:08:37 +08:00
..
__tests__ feat(web): 添加 SVG 代码块预处理工具函数(行级解析,支持围栏变体) 2026-05-25 21:08:37 +08:00
templates lint(web): [大量改动] 格式化前端代码 2026-01-15 06:01:34 +08:00
agentPanelAutoOpen.js style: format code 2026-04-01 04:16:22 +08:00
agentValidator.js lint(web): [大量改动] 格式化前端代码 2026-01-15 06:01:34 +08:00
chartColors.js lint(web): [大量改动] 格式化前端代码 2026-01-15 06:01:34 +08:00
chatExporter.js refactor: 修改 Markdown 预览组件 2026-05-08 01:04:23 +08:00
chunk_presets.js feat: 添加 separator 解析器及相关配置,支持严格分隔功能 Question: 知识库对excel切分无法按行切分 2026-04-28 20:30:02 +08:00
chunkUtils.js lint(web): [大量改动] 格式化前端代码 2026-01-15 06:01:34 +08:00
errorHandler.js lint(web): [大量改动] 格式化前端代码 2026-01-15 06:01:34 +08:00
file_preview.js refactor: 修改 Markdown 预览组件 2026-05-08 01:04:23 +08:00
file_utils.js style(lint): 优化格式 2026-03-26 13:53:35 +08:00
html.js refactor: 修改 Markdown 预览组件 2026-05-08 01:04:23 +08:00
kb_utils.js fix: 使用 buildLlmInfoPayload 函数构造 llm_info,简化代码并避免空值提交 2026-05-04 08:12:54 +08:00
markdown_preview.js feat(web): 在 renderMarkdown 中集成 SVG 渲染(DOMPurify 默认已支持 SVG) 2026-05-25 21:08:37 +08:00
messageProcessor.js style(format): 格式化代码 2026-03-04 04:13:05 +08:00
modelIcon.js style(format): 格式化代码 2026-04-27 02:24:52 +08:00
questionUtils.js fix: make lint && make format 2026-03-20 21:18:13 +08:00
scrollController.js fix(web): 修复滚动到底部未生效的问题,并优化 markdown 渲染 padding 2026-03-03 00:05:28 +08:00
svgRenderer.js feat(web): 添加 SVG 代码块预处理工具函数(行级解析,支持围栏变体) 2026-05-25 21:08:37 +08:00
time.js feat(chat): 新增对话线程列表的分页功能,支持limit和offset参数 2026-03-06 10:14:43 +08:00