Added bgcolor bbcode.

This commit is contained in:
Pachira 2024-12-11 19:47:09 +00:00
parent 97318088a9
commit c9bacc68fc

View file

@ -264,6 +264,13 @@ var Chat = (function () {
persistStyleAttr: 'color', persistStyleAttr: 'color',
persistStyleSingle: true, persistStyleSingle: true,
}, },
{
tag: "bgcolor",
arg: true,
rmarg: ";:{}<>&|\\/~'\"",
swap: "<span style='background-color:{0};'>{1}</span>",
enableSetting: 'bbParseColour',
},
{ {
tag: "url", tag: "url",
arg: false, arg: false,