JoshyPHP Fast question, is there a better way to edit/add custom?
What i mean is like i tried:
$configurator->BBCodes->addCustom('[size={TEXT1}]{TEXT2}[/size]','<span style="font-size: {TEXT1}">{TEXT2}</span>');
But gives Attribute 'size' is not properly sanitized to be used in this context
$configurator->BBCodes->addCustom('[size=large]{TEXT}[/size]','<span style="font-size: large">{TEXT}</span>');
Gives No valid tokens found in size's definition large
And
$configurator->BBCodes->addCustom('[size={CHOICE=large,small,xx-small,x-small,medium,x-large,xx-large}]{TEXT}[/size]','<span style="font-size: {CHOICE}">{TEXT}</span>');
This works but it adds "px" after it in the css. (Example: font-size: x-smallpx;
)