Files
Folo/apps
Innei e008dfa016 refactor(ai-chat): restructure mention handling and improve type definitions
Refactored the MentionNode and related types to enhance clarity and maintainability. Removed the old convertMentionElement function and updated the importDOM method to throw an error for unimplemented spans. Introduced a base interface for mention data and specific interfaces for different mention types, improving type safety. Updated mention text value utilities to include a new function for display text, enhancing the mention display logic.

Signed-off-by: Innei <tukon479@gmail.com>
2025-10-20 21:24:49 +08:00
..