ZBrushCentral

BB Code doesn't seem to be working anymore

Hi @melissa

BB Code doesn’t work like it used to. Below is what shows up in the post.

[color=#0CFE00]text goes here[/color]

[color=#FF0000]Red text[/color]

[color=blue]Blue text[/color]

[size=3][color=#FF9900]text goes here[/color][/size]

text goes here - bold works

Underline - underline works

Hi @zber2 , actually it might has never worked, after the port of the old forum to the discourse forum, all posts in zscripting which was posted using the bbcode for the syntax highlighting has never worked.

from discourse documentation :

Out-of-the-box: Discourse already supports [i], [b], [s], [u], [quote], [url], [email] and [code]

Best,
Nicolas

Hi @facelessmindz

Yes, it did work at one time on this forum as you can see in this post. It seems like it’s the [color=] , [/color] tags don’t work now but as you can see in that post they did.

Yes I can ee that, but check the html code with your internet browser dev tools,
The reason why it works there and not here, is not clear and undetermined.

if I try to replicate the html is give that : ( no color only the bold is working as bbcode-b is defined into the final stylesheet )

on the linked post the final html look like that :

<p dir="ltr">
  <font size="3" dir="ltr"><font color="#0099FF" dir="ltr">
    <span class="bbcode-b" dir="ltr">Thanks aurick! </span>
  </font></font>
</p>

here the code looks like that :

<p dir="ltr">
<span class="bbcode-b" dir="ltr">[COLOR=#0099FF]blue text[/COLOR]</span>
</p>

My conclusion is it’s hard to know what is cooked by discourse for the post content, there might be some checks and sanitizing process done using PHP, I am trying to reuse the current css and htlm to use colored text but at the moment in vain.
Nicolas

Hi guys,

The bbcode feature was disabled in our most recent update because it’s not being well maintained, and was causing compiler errors in our update.

Hopefully we’ll be able to reliably bring this feature back in the future.

Discourse has native support for Markdown for post formatting.

1 Like