Can HTML <span> tag be used to format text in editor?

I am setting up a self hosted Discourse forum. Thumbs up for the well documented install process and Kudos to the community for active support in forums !

Recently I noticed that I was unable to color text using HTML span tag as follows.

<span style="color: #ff0000;">test</span>

Am I missing some plugin for this? I have used discourse-bbcode-color successfully. So coloring seems to work otherwise.

Screenshot is attached for reference. Thanks!

5 Likes

Welcome, Anargha! :blob_wave:

Alternatively, there’s an official BBCode plugin that supports colors plus other tags:

You might also be interested in this:

4 Likes

Thanks for pointing to custom styling. And yes, I am enjoying customizing discourse for my community. !

2 Likes

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