# Discourse-bbcode-color support for chat

**URL:** https://meta.discourse.org/t/discourse-bbcode-color-support-for-chat/215520
**Category:** Feature
**Tags:** chat
**Created:** [January 21, 2022, 4:00am UTC](https://meta.discourse.org/t/discourse-bbcode-color-support-for-chat/215520 "2022-01-21T04:00:24Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sdpiowa](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sdpiowa/32/242915_2.png) [@sdpiowa](https://meta.discourse.org/u/sdpiowa)
#### Post date: [January 21, 2022, 4:00am UTC](https://meta.discourse.org/t/discourse-bbcode-color-support-for-chat/215520/1 "2022-01-21T04:00:24Z")

</div>

Hey, all!

We’ve been using the bbcode-color plug-in on our forums and noticed that the chat plug-in is no longer formatting the text when the color tags are used. I’m not entirely sure if this was intentional or not…but I’m reporting it as a bug.

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/5/b512e6764b7820bc3f8e618bf89a165666cd7f5e.jpeg)

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [April 28, 2022, 3:52pm UTC](https://meta.discourse.org/t/discourse-bbcode-color-support-for-chat/215520/5 "2022-04-28T15:52:08Z")

</div>

Hi,

this feature is coming from a plugin `discourse-bbcode-color`, the change to make it work is very simple, we only need to add `bbcode-color` in this list: [https://github.com/discourse/discourse-chat/blob/main/app/models/chat\_message.rb#L135](https://github.com/discourse/discourse-chat/blob/main/app/models/chat_message.rb#L135)

However I don’t want to pollute chat with plugin specifics so we will have to create a simple plugin API to allow plugins to insert themselves in the list.

I’m sorry this won’t be on top of the priorities, I will mark it as #pr-welcome though. Let me know if someone starts working on it, I can offer guidance. I will also reclassify this as a feature and not a bug.

Thanks for the report.

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 23, 2022, 1:25pm UTC](https://meta.discourse.org/t/discourse-bbcode-color-support-for-chat/215520/6 "2022-05-23T13:25:13Z")

</div>

Support for this is added in: [DEV: adds chat support by jjaffeux · Pull Request #36 · discourse/discourse-bbcode-color · GitHub](https://github.com/discourse/discourse-bbcode-color/pull/36)

Note you will need a version of discourse-chat with this commit: [DEV: allows plugins to enable markdown features (#878) · discourse/discourse-chat@181fe28 · GitHub](https://github.com/discourse/discourse-chat/commit/181fe286a00c043e46b27b7adbe212e6aa553c51)

Thanks fort report 👍

---

<div class="post-metadata">

### Author: ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)
#### Post date: [May 26, 2022, 1:25pm UTC](https://meta.discourse.org/t/discourse-bbcode-color-support-for-chat/215520/7 "2022-05-26T13:25:47Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
