# Bold, italic, strikethrough text can be typed but that state is not preserved when message is send , its shows as normal text message

**URL:** <https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343>\
**Category:** Miscellaneous\
**Created:** [September 26, 2023, 8:18am UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343 "2023-09-26T08:18:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vkay](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/vkay/32/4837_2.png) [@vkay](https://community.sendbird.com/u/vkay)\
**Post date:** [September 26, 2023, 8:18am UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/1 "2023-09-26T08:18:03Z")

</div>

bold, italic, strikethrough text can be typed but that state is not preserved when message is send , its shows as normal text message. this happens when i am sending message in group channel

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [September 26, 2023, 9:34am UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/2 "2023-09-26T09:34:46Z")

</div>

Hello @vkay

This post is missing a lot of context that prevents me from helping you:

- UIKit or Non-UIKit
- What platform?
- What version of the UIKit/SDK?

These are, at a bare minimum, required to help.

---

<div class="post-metadata">

**Author:** ![vkay](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/vkay/32/4837_2.png) [@vkay](https://community.sendbird.com/u/vkay)\
**Post date:** [September 26, 2023, 9:51am UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/3 "2023-09-26T09:51:25Z")

</div>

- UIKit or Non-UIKit : uikit
- What platform?: React
- What version of the UIKit/SDK? : “uikit-react”: “^3.6.8”

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [September 26, 2023, 10:09am UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/4 "2023-09-26T10:09:04Z")

</div>

In terms of what you’ve reported, are you sending formatted text via a customMessageInput or how are you sending us formatted text?

---

<div class="post-metadata">

**Author:** ![vkay](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/vkay/32/4837_2.png) [@vkay](https://community.sendbird.com/u/vkay)\
**Post date:** [September 26, 2023, 11:08am UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/5 "2023-09-26T11:08:38Z")

</div>

We are not doing any processing on it.  
We have simply created a chat window component like this:

```auto
    <SendbirdProvider
      appId={appId}
      userId={userId}
      isMentionEnabled={!disableMentions}
    >
      <Channel channelUrl={channelUrl} renderChannelHeader={() => <></>} />
    </SendbirdProvider>

```

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [September 26, 2023, 11:17pm UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/6 "2023-09-26T23:17:45Z")

</div>

Taking a look, it looks like the messageInput component of the React supports formatting in the input box but we only send the values as plain text. Additionally speaking, the messageComponent is not designed to render rich text such as markdown or HTML.

---

<div class="post-metadata">

**Author:** ![mayankd](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/mayankd/32/4258_2.png) [@mayankd](https://community.sendbird.com/u/mayankd)\
**Post date:** [September 27, 2023, 5:37am UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/7 "2023-09-27T05:37:59Z")

</div>

Okay. Right now our end users will think that the text can be formatted in the chat but that wont be happening and will become a point of frustration for them, which is a bad UX. Can you please get this fixed?

Either of these solutions will work

- disabling text formatting in the messageInput  
OR
- allowing formatted text messages in the chat

---

<div class="post-metadata">

**Author:** ![yogi.luwjistik](https://avatars.discourse-cdn.com/v4/letter/y/91b2a8/32.png) [@yogi.luwjistik](https://community.sendbird.com/u/yogi.luwjistik)\
**Post date:** [May 2, 2024, 7:49am UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/8 "2024-05-02T07:49:04Z")

</div>

Is there any solutions about this? i have same problem

---

<div class="post-metadata">

**Author:** ![Guy\_Guy](https://avatars.discourse-cdn.com/v4/letter/g/94ad74/32.png) [@Guy\_Guy](https://community.sendbird.com/u/Guy_Guy)\
**Post date:** [June 19, 2024, 1:43pm UTC](https://community.sendbird.com/t/bold-italic-strikethrough-text-can-be-typed-but-that-state-is-not-preserved-when-message-is-send-its-shows-as-normal-text-message/8343/9 "2024-06-19T13:43:12Z")

</div>

I’m also in favor in adding rich text editor.  
At least when a bot is in the convo, it can return formatted responses and display them in a nice way to the user.

Full Markdown support can be great (and not just the limited one to bold and url: [release: 3.14.11 by AhyoungRyu · Pull Request #1141 · sendbird/sendbird-uikit-react · GitHub](https://github.com/sendbird/sendbird-uikit-react/pull/1141))
