Files
Enterprise-Knowledge-Base/frontend
wizardchen 69670dbc24 feat: add shared utilities for chat message handling and mermaid rendering
- Introduced new utility functions in `chatMessageShared.ts` for handling incomplete image placeholders, formatting titles, building markdown, and copying text to clipboard.
- Added `mermaidShared.ts` to manage Mermaid initialization and rendering, including functions for creating code renderers and binding fullscreen events.
- Updated `AgentStreamDisplay.vue` and `botmsg.vue` components to utilize the new utilities, improving code organization and reusability.
- Removed redundant Mermaid initialization and image handling logic from components, streamlining the codebase.

These changes enhance the functionality and maintainability of chat message rendering and Mermaid diagram integration.
2026-03-03 22:23:23 +08:00
..
2025-08-05 15:08:07 +08:00
2025-08-05 15:08:07 +08:00
2025-08-05 15:08:07 +08:00
2025-08-05 15:08:07 +08:00
2025-08-05 15:08:07 +08:00