@@ -24,16 +24,16 @@ exports[`wagtail.contrib.typed_table_block.blocks.TypedTableBlock it renders cor
24
24
<div class = " typed-table-block__wrapper" >
25
25
<table >
26
26
<thead >
27
- <tr ><th aria-hidden = " true" ></th ><th ><input type = " hidden" name = " mytable-column-0-type" value = " test_block_a" ><input type = " hidden" name = " mytable-column-0-order" value = " 0" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" title = " Insert column" >
27
+ <tr ><th aria-hidden = " true" ></th ><th ><input type = " hidden" name = " mytable-column-0-type" value = " test_block_a" ><input type = " hidden" name = " mytable-column-0-order" value = " 0" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" aria-expanded = " false " title = " Insert column" >
28
28
<svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg >
29
29
</button ><input type = " text" name = " mytable-column-0-heading" class = " column-heading" placeholder = " Column heading" ><button type = " button" class = " button button-secondary button-small button--icon text-replace no delete-column" aria-label = " Delete column" title = " Delete column" >
30
30
<svg class = " icon icon-bin icon" aria-hidden = " true" ><use href = " #icon-bin" ></use ></svg >
31
- </button ></th ><th ><input type = " hidden" name = " mytable-column-1-type" value = " test_block_b" ><input type = " hidden" name = " mytable-column-1-order" value = " 1" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" title = " Insert column" >
31
+ </button ></th ><th ><input type = " hidden" name = " mytable-column-1-type" value = " test_block_b" ><input type = " hidden" name = " mytable-column-1-order" value = " 1" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" aria-expanded = " false " title = " Insert column" >
32
32
<svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg >
33
33
</button ><input type = " text" name = " mytable-column-1-heading" class = " column-heading" placeholder = " Column heading" ><button type = " button" class = " button button-secondary button-small button--icon text-replace no delete-column" aria-label = " Delete column" title = " Delete column" >
34
34
<svg class = " icon icon-bin icon" aria-hidden = " true" ><use href = " #icon-bin" ></use ></svg >
35
35
</button ></th ><th class = " control-cell" >
36
- <button type = " button" class = " button button-small button-secondary append-column button--icon text-replace white" data-append-column = " " aria-label = " Add column" title = " Add column" ><svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg ></button >
36
+ <button type = " button" class = " button button-small button-secondary append-column button--icon text-replace white" aria-expanded = " false " data-append-column = " " aria-label = " Add column" title = " Add column" ><svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg ></button >
37
37
</th ></tr >
38
38
</thead >
39
39
<tbody ><tr ><td class = " control-cell" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-row" aria-label = " Insert row" title = " Insert row" >
@@ -130,16 +130,16 @@ exports[`wagtail.contrib.typed_table_block.blocks.TypedTableBlock setError passe
130
130
<div class = " typed-table-block__wrapper" >
131
131
<table >
132
132
<thead >
133
- <tr ><th aria-hidden = " true" ></th ><th ><input type = " hidden" name = " mytable-column-0-type" value = " test_block_a" ><input type = " hidden" name = " mytable-column-0-order" value = " 0" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" title = " Insert column" >
133
+ <tr ><th aria-hidden = " true" ></th ><th ><input type = " hidden" name = " mytable-column-0-type" value = " test_block_a" ><input type = " hidden" name = " mytable-column-0-order" value = " 0" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" aria-expanded = " false " title = " Insert column" >
134
134
<svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg >
135
135
</button ><input type = " text" name = " mytable-column-0-heading" class = " column-heading" placeholder = " Column heading" ><button type = " button" class = " button button-secondary button-small button--icon text-replace no delete-column" aria-label = " Delete column" title = " Delete column" >
136
136
<svg class = " icon icon-bin icon" aria-hidden = " true" ><use href = " #icon-bin" ></use ></svg >
137
- </button ></th ><th ><input type = " hidden" name = " mytable-column-1-type" value = " test_block_b" ><input type = " hidden" name = " mytable-column-1-order" value = " 1" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" title = " Insert column" >
137
+ </button ></th ><th ><input type = " hidden" name = " mytable-column-1-type" value = " test_block_b" ><input type = " hidden" name = " mytable-column-1-order" value = " 1" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" aria-expanded = " false " title = " Insert column" >
138
138
<svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg >
139
139
</button ><input type = " text" name = " mytable-column-1-heading" class = " column-heading" placeholder = " Column heading" ><button type = " button" class = " button button-secondary button-small button--icon text-replace no delete-column" aria-label = " Delete column" title = " Delete column" >
140
140
<svg class = " icon icon-bin icon" aria-hidden = " true" ><use href = " #icon-bin" ></use ></svg >
141
141
</button ></th ><th class = " control-cell" >
142
- <button type = " button" class = " button button-small button-secondary append-column button--icon text-replace white" data-append-column = " " aria-label = " Add column" title = " Add column" ><svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg ></button >
142
+ <button type = " button" class = " button button-small button-secondary append-column button--icon text-replace white" aria-expanded = " false " data-append-column = " " aria-label = " Add column" title = " Add column" ><svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg ></button >
143
143
</th ></tr >
144
144
</thead >
145
145
<tbody ><tr ><td class = " control-cell" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-row" aria-label = " Insert row" title = " Insert row" >
@@ -236,16 +236,16 @@ exports[`wagtail.contrib.typed_table_block.blocks.TypedTableBlock setError shows
236
236
<div class = " typed-table-block__wrapper" >
237
237
<table >
238
238
<thead >
239
- <tr ><th aria-hidden = " true" ></th ><th ><input type = " hidden" name = " mytable-column-0-type" value = " test_block_a" ><input type = " hidden" name = " mytable-column-0-order" value = " 0" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" title = " Insert column" >
239
+ <tr ><th aria-hidden = " true" ></th ><th ><input type = " hidden" name = " mytable-column-0-type" value = " test_block_a" ><input type = " hidden" name = " mytable-column-0-order" value = " 0" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" aria-expanded = " false " title = " Insert column" >
240
240
<svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg >
241
241
</button ><input type = " text" name = " mytable-column-0-heading" class = " column-heading" placeholder = " Column heading" ><button type = " button" class = " button button-secondary button-small button--icon text-replace no delete-column" aria-label = " Delete column" title = " Delete column" >
242
242
<svg class = " icon icon-bin icon" aria-hidden = " true" ><use href = " #icon-bin" ></use ></svg >
243
- </button ></th ><th ><input type = " hidden" name = " mytable-column-1-type" value = " test_block_b" ><input type = " hidden" name = " mytable-column-1-order" value = " 1" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" title = " Insert column" >
243
+ </button ></th ><th ><input type = " hidden" name = " mytable-column-1-type" value = " test_block_b" ><input type = " hidden" name = " mytable-column-1-order" value = " 1" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-column" aria-label = " Insert column" aria-expanded = " false " title = " Insert column" >
244
244
<svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg >
245
245
</button ><input type = " text" name = " mytable-column-1-heading" class = " column-heading" placeholder = " Column heading" ><button type = " button" class = " button button-secondary button-small button--icon text-replace no delete-column" aria-label = " Delete column" title = " Delete column" >
246
246
<svg class = " icon icon-bin icon" aria-hidden = " true" ><use href = " #icon-bin" ></use ></svg >
247
247
</button ></th ><th class = " control-cell" >
248
- <button type = " button" class = " button button-small button-secondary append-column button--icon text-replace white" data-append-column = " " aria-label = " Add column" title = " Add column" ><svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg ></button >
248
+ <button type = " button" class = " button button-small button-secondary append-column button--icon text-replace white" aria-expanded = " false " data-append-column = " " aria-label = " Add column" title = " Add column" ><svg class = " icon icon-plus icon" aria-hidden = " true" ><use href = " #icon-plus" ></use ></svg ></button >
249
249
</th ></tr >
250
250
</thead >
251
251
<tbody ><tr ><td class = " control-cell" ><button type = " button" class = " button button-secondary button-small button--icon text-replace prepend-row" aria-label = " Insert row" title = " Insert row" >
0 commit comments