Mhh, I like you mod. I founded this mod
https://vborg.vbsupport.ru/showthread.php?p=2139793 but its not original supported 4.1.0
What is with this ideas:
create static styles and user can select what he want:
styles add in additional.css
[table1] => <table ... class="table1">
[table2] => <table ... class="table2">
[tr1] => <tr class="tr1">
[tr2] => <tr class="tr2">
[td1] => <td class="td1">
[td2] => <td class="td2">
or much better with own optional parameters in bbcode, when it is possible :
[td span=2 class=td1 align=center] => <td colspan="2" class="td1" align="center">
I hope you understand