diff --git a/packages/react/src/views/ChatHeader/ChatHeader.js b/packages/react/src/views/ChatHeader/ChatHeader.js
index 0e46b9ccd..3a837b6da 100644
--- a/packages/react/src/views/ChatHeader/ChatHeader.js
+++ b/packages/react/src/views/ChatHeader/ChatHeader.js
@@ -28,6 +28,7 @@ import useSettingsStore from '../../store/settingsStore';
import getChatHeaderStyles from './ChatHeader.styles';
import useSetExclusiveState from '../../hooks/useSetExclusiveState';
import SurfaceMenu from '../SurfaceMenu/SurfaceMenu';
+import { Markdown } from '../Markdown';
const ChatHeader = ({
isClosable,
@@ -385,7 +386,7 @@ const ChatHeader = ({
{isThreadOpen && (
}
handleClose={closeThread}
iconName="arrow-back"
/>
diff --git a/packages/react/src/views/ChatInput/ChatInput.js b/packages/react/src/views/ChatInput/ChatInput.js
index 99c1c8b4f..d00b9c6a3 100644
--- a/packages/react/src/views/ChatInput/ChatInput.js
+++ b/packages/react/src/views/ChatInput/ChatInput.js
@@ -34,6 +34,7 @@ import { getChatInputStyles } from './ChatInput.styles';
import useShowCommands from '../../hooks/useShowCommands';
import useSearchMentionUser from '../../hooks/useSearchMentionUser';
import formatSelection from '../../lib/formatSelection';
+import { Markdown } from '../Markdown';
const ChatInput = ({ scrollToBottom }) => {
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..0d9db4091 100644
--- a/packages/react/src/views/Message/MessageToolbox.js
+++ b/packages/react/src/views/Message/MessageToolbox.js
@@ -13,6 +13,8 @@ import { EmojiPicker } from '../EmojiPicker';
import { parseEmoji } from '../../lib/emoji';
import { getMessageToolboxStyles } from './Message.styles';
import SurfaceMenu from '../SurfaceMenu/SurfaceMenu';
+import { Markdown } from '../Markdown';
+import { useMessageToolboxStyles } from './Message.styles';
export const MessageToolbox = ({
className = '',
@@ -240,7 +242,7 @@ export const MessageToolbox = ({
padding: '0 0.5rem 0.5rem',
}}
>
- {parseEmoji(message.msg)}
+