- Replaced manual checks for editable elements in global shortcuts with a utility function `detectIsEditableElement` for cleaner code and better maintainability. - Updated `AIChatRoot` to use `LexicalRichEditorRef` for the input reference, enhancing type safety and consistency in the chat input handling. - Integrated `AIPanelRefsContext` in `ChatInput` and `ChatInterfaceContent` to streamline access to the input reference across components. - Removed the deprecated `animatedPlugin` file to clean up unused code. These changes aim to enhance the overall structure and functionality of the AI chat interface, improving user experience and code maintainability. Signed-off-by: Innei <tukon479@gmail.com> |
||
|---|---|---|
| .. | ||
| configs | ||
| internal | ||
| readability | ||