[img=center/left/right]URL[/img]
and
[img]URL[/img]
After upgrade to 3.2.1 I've lose the
[img=center/left/right/float-left/float-right]
.This was a BBCode from ABBC3 MOD. (I've enabled the ABBC3 extension and delete it, since I prefer to create just the BBCodes I'll use)
I've thought on creating this for the [align=center/left/right]:
BBCode:
[align={SIMPLETEXT}]{TEXT}[/align]
HTML:
<div style="text-align:{SIMPLETEXT};">{TEXT}</div>
But how about [align=float-left] and [align=float-right]? How can this be included on the same BBCode?
I could create a new BBCode like this:
BBCode:
[float={IDENTIFIER}]{TEXT}[/float]
HTML:
<div style="float:{IDENTIFIER};padding:0px 10px 0px 0px;">{TEXT}</div>
But I wanted to learn how can I have both HTML working together on the same BBCode, so I would only use the [align=] one