diff --git a/packages/react/src/views/ChatHeader/ChatHeader.js b/packages/react/src/views/ChatHeader/ChatHeader.js index 0e46b9ccd..e0b5f393f 100644 --- a/packages/react/src/views/ChatHeader/ChatHeader.js +++ b/packages/react/src/views/ChatHeader/ChatHeader.js @@ -385,6 +385,7 @@ const ChatHeader = ({ {isThreadOpen && ( { const { styleOverrides, classNames } = useComponentOverrides('ChatInput'); @@ -155,7 +156,7 @@ const ChatInput = ({ scrollToBottom }) => { messageRef.current.value = editMessage.attachments[0]?.description || editMessage.msg; } else if (editMessage.msg) { - messageRef.current.value = editMessage.msg; + messageRef.current.value = ; } else { messageRef.current.value = ''; } diff --git a/packages/react/src/views/Message/MessageToolbox.js b/packages/react/src/views/Message/MessageToolbox.js index 248dd3558..68e8623bb 100644 --- a/packages/react/src/views/Message/MessageToolbox.js +++ b/packages/react/src/views/Message/MessageToolbox.js @@ -10,9 +10,9 @@ import { useTheme, } from '@embeddedchat/ui-elements'; import { EmojiPicker } from '../EmojiPicker'; -import { parseEmoji } from '../../lib/emoji'; import { getMessageToolboxStyles } from './Message.styles'; import SurfaceMenu from '../SurfaceMenu/SurfaceMenu'; +import { Markdown } from '../Markdown'; export const MessageToolbox = ({ className = '', @@ -240,7 +240,7 @@ export const MessageToolbox = ({ padding: '0 0.5rem 0.5rem', }} > - {parseEmoji(message.msg)} +