Skip to content

Question: how to add an attribute to a table header cell? (<th>) #709

@Ambient-Impact

Description

@Ambient-Impact

Hello. I've tried all sorts of variants of the attributes syntax, but none of them get identified as attributes by the parser.

I tried inline:

| Episode | Episode title | Description{data-table-column-type="long"}| Cupoid challenge theme | Original stream date |

I tried the block syntax both before after the pipe, because why not:

| Episode | Episode title | Description{: data-table-column-type="long"} | Cupoid challenge theme | Original stream date |
| Episode | Episode title | Description|{: data-table-column-type="long"} Cupoid challenge theme | Original stream date |

I tried the alignment syntax just in case:

| Episode | Episode title | Description(data-table-column-type="long") | Cupoid challenge theme | Original stream date |

Can attributes on individual table elements only be added programmatically? This is on 1.6, as we can't yet upgrade to 2.0, by the way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionGeneral questions about the project or usage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions