XF 2.3 Convert Custom BBCODE to HTML

SelamT

Active member
Hello,

I wrote a macro that creates a BBCODE according to the formats of the cells (horizontal alignment, vertical alignment, text colour, background colour, border etc.) by copying the selected areas in Excel sheets. You can see a simple output below.
Code:
[XABLE]
[XR]
[XD h=left v=middle c=#66512C bg=#FCF8E3]Name[/XD]
[/XR]
[/XABLE]
what I want to do here

Code:
[XD h=left v=middle c=#66512C bg=#FCF8E3]Name[/XD]
to convert the custom bbcoce to HTML as follows.

Code:
<td style="text-align: left; vertical-aligment: middle; colour: #66512C; background-color: #FCF8E3">Name</td>

For this, I need to make an HTML definition in the custom bbcode field in the admin panel.

I kindly ask for your help.
 
Back
Top Bottom