...and caption

gilcot - May 23, 2008 - 18:24
Project:Bbcode
Version:6.x-1.1
Component:BBCode Tags
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

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>

#1

gilcot - May 25, 2008 - 07:32
Title:[table] enhance with class selector... » ...and caption

i forgot something important : ability to set table caption is needed too

#2

naudefj - November 30, 2008 - 08:59
Status:active» postponed

Postponed until someone is willing to code this feature.

 
 

Drupal is a registered trademark of Dries Buytaert.