bu-ist / bu-blocks

A repository for storing all BU WordPress blocks for the new WordPress editor
https://bu-ist.github.io/bu-blocks/
1 stars 0 forks source link

Modify table block markup to make responsive #310

Open amckenz opened 6 years ago

amckenz commented 6 years ago

From @ashleykolodziej on February 28, 2018 16:49

Responsive Version: 1.x and up

Expected behavior: Classes should be added to tables

Actual behavior: No classes added to tables

Tables generated using the WordPress visual editor should get the <div class="responsive-table"> wrapper and have options to add the striped and bordered classes. These classes aren't useful to clients as they are now (which requires hand-editing HTML).

Copied from original issue: bu-ist/responsive-framework-1x#325

ashleykolodziej commented 3 years ago

This is easier to solve in Gutenberg and we will not address in 2x as a result. Let's move this to BU Blocks.

ashleykolodziej commented 3 years ago

Next steps: verify Gutenberg doesn't already do this.

If it does: