diff --git a/packages/block-library/src/table/block.json b/packages/block-library/src/table/block.json index 27dc5d38703986..15e66ac2671ff8 100644 --- a/packages/block-library/src/table/block.json +++ b/packages/block-library/src/table/block.json @@ -19,6 +19,7 @@ "alignAllColumns": { "type": "string", "source": "attribute", + "selector": "table", "attribute": "data-align-all-columns" }, "head": { diff --git a/packages/block-library/src/table/save.js b/packages/block-library/src/table/save.js index 1d24a7d7975cc2..db6e694b7eb45d 100644 --- a/packages/block-library/src/table/save.js +++ b/packages/block-library/src/table/save.js @@ -69,9 +69,6 @@ export default function save( { attributes } ) { : undefined } data-align={ align } - data-align-all-columns={ - attributes.alignAllColumns - } tagName={ tag } value={ content } key={ cellIndex } @@ -95,6 +92,7 @@ export default function save( { attributes } ) {