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.
what I want to do here
to convert the custom bbcoce to HTML as follows.
For this, I need to make an HTML definition in the custom bbcode field in the admin panel.
I kindly ask for your help.
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]
Code:
[XD h=left v=middle c=#66512C bg=#FCF8E3]Name[/XD]
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.