Skip to content

Commit 60f408f

Browse files
committed
Add cell/row delete buttons to toolbar
1 parent ced9960 commit 60f408f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wagtail_tinytableblock/static/wagtail_tinytableblock/js/tiny-table-block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class TinyTableBlockDefinition extends window.wagtailStreamField.blocks.FieldBlo
44
const block = super.render(placeholder, prefix, initialState, initialError);
55

66
let plugins = "table autoresize";
7-
let toolbar = "undo redo | tablerowheader tablecolheader tablemergecells tablesplitcells tablecellprops tablerowprops| tableinsertcolbefore tableinsertcolafter tableinsertrowbefore tableinsertrowafter tabledelete";
7+
let toolbar = "undo redo | tablerowheader tablecolheader tablemergecells tablesplitcells tablecellprops tablerowprops| tableinsertcolbefore tableinsertcolafter tableinsertrowbefore tableinsertrowafter | tabledeletecol tabledeleterow tabledelete";
88
let contextmenu = "table";
99
let valid_elements = "br,table[border|width|height|align|summary],tr[align|valign],td[align|valign|width|colspan|rowspan],th[align|valign|width|colspan|rowspan|scope],thead,tbody";
1010
if (this.meta.enableLinks) {

0 commit comments

Comments
 (0)