Postponed
Project:
Bbcode
Version:
6.x-1.1
Component:
BBCode Tags
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 May 2008 at 18:24 UTC
Updated:
30 Nov 2008 at 08:59 UTC
Not in the help, but i found by looking in the bbcode-filter.inc file and it's a cool stuff: if i didn't exist i would ask for it!
[table]
[row][col]1-1[/col][c]1-2[/c][td]1-3[/td][/row]
[r][col]2-1[/col][c]2-2[/c][td]2-3[/td][/r]
[tr][col]3-1[/col][c]3-2[/c][td]3-3[/td][/tr]
[/table]
What is missing is the ability to specify the CSS CLASS to use (of course, it will fail to "bb-table" if not given) as a parameter for TABLE: [table=my-cool-class-style].
I use tables for my reports and lessons with different prededined styles, so this plus will be welcome.
Another thing further and more difficult (i don't know how to it): rows should be automaticaly marked odd/even (always or only when a color is not specified?). my stylesheets are ready for that. :-)
<table class="my-cool-class-style">
<tr class="odd"><td>1-1</td><td>1-2</td><td]1-3</td></tr>
<tr class="even"><td>2-1</td><td>2-2</td><td]2-3</td></tr>
<tr class="odd"><td>3-1</td><td>3-2</td><td]3-3</td></tr>
</table>
Comments
Comment #1
gilcot commentedi forgot something important : ability to set table caption is needed too
Comment #2
naudefj commentedPostponed until someone is willing to code this feature.