Added bgcolor bbcode.

This commit is contained in:
Pachira 2024-12-11 19:47:33 +00:00
parent a3650e236b
commit 205859b52e

View file

@ -49,6 +49,12 @@ const UmiBBCodes = [
stripArg: ';:{}<>&|\\/~\'"', stripArg: ';:{}<>&|\\/~\'"',
replace: '<span style="color:{0};">{1}</span>', replace: '<span style="color:{0};">{1}</span>',
}, },
{
tag: 'bgcolor',
hasArg: true,
stripArg: ';:{}<>&|\\/~\'"',
replace: '<span style="background-color:{0};">{1}</span>',
},
{ {
tag: 'img', tag: 'img',
text: 'Image', text: 'Image',