Skip to content

Responsive Tables #44

Description

@ninfaj

It's too hard for the editor to define the correct markup for responsive Tables:

The needed markup is:

<table class="listing responsive">
    <thead>
        <tr>
            <th>Firstname</th>
            <th>Lastname</th>
            <th>Age</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td data-title="Firstname">Hugo</td>
            <td data-title="Lastname">Boss</td>
            <td data-title="Age">32</td>
        </tr>
        <tr>
            <td data-title="Firstname">Elisabeth</td>
            <td data-title="Lastname">Tester</td>
            <td data-title="Age">27</td>
        </tr>
    </tbody>
</table>

But the editor does something like:

<table class="listing">
    <tbody>
        <tr>
            <th>Firstname</th>
            <th>Lastname</th>
            <th>Age</th>
        </tr>
        <tr>
            <td>Hugo</td>
            <td>Boss</td>
            <td>32</td>
        </tr>
        <tr>
            <td>Elisabeth</td>
            <td>Tester</td>
            <td>27</td>
        </tr>
    </tbody>
</table>

Maybe it's an option to "fix" the markup with css?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions