From ec688be162096eb059038b8333ab21e696318e75 Mon Sep 17 00:00:00 2001 From: Rich Tabor Date: Mon, 13 Nov 2023 14:26:43 -0500 Subject: [PATCH] Another round of __next40pxDefaultSize controls (#56022) * ReusableBlockEdit * __next40pxDefaultSize for block-library * __next40pxDefaultSize for PageAttributesOrder --- packages/block-editor/src/hooks/anchor.js | 1 + packages/block-editor/src/hooks/block-rename-ui.js | 2 ++ packages/block-editor/src/hooks/custom-class-name.js | 1 + packages/block-library/src/block/edit.js | 3 ++- .../src/comments/edit/comments-inspector-controls.js | 1 + packages/block-library/src/cover/edit/inspector-controls.js | 1 + packages/block-library/src/group/edit.js | 1 + packages/block-library/src/query/edit/query-content.js | 1 + .../block-library/src/template-part/edit/advanced-controls.js | 1 + packages/editor/src/components/page-attributes/order.js | 1 + 10 files changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/block-editor/src/hooks/anchor.js b/packages/block-editor/src/hooks/anchor.js index 7a8f507d9674e..3d404c4a86811 100644 --- a/packages/block-editor/src/hooks/anchor.js +++ b/packages/block-editor/src/hooks/anchor.js @@ -59,6 +59,7 @@ function BlockEditAnchorControl( { blockName, attributes, setAttributes } ) { const textControl = ( diff --git a/packages/block-library/src/comments/edit/comments-inspector-controls.js b/packages/block-library/src/comments/edit/comments-inspector-controls.js index 5dd7afab431ce..1a33cb68ea38a 100644 --- a/packages/block-library/src/comments/edit/comments-inspector-controls.js +++ b/packages/block-library/src/comments/edit/comments-inspector-controls.js @@ -22,6 +22,7 @@ export default function CommentsInspectorControls( { )' ), value: 'div' }, diff --git a/packages/block-library/src/cover/edit/inspector-controls.js b/packages/block-library/src/cover/edit/inspector-controls.js index 3ed0ae872f933..38757f90c2dee 100644 --- a/packages/block-library/src/cover/edit/inspector-controls.js +++ b/packages/block-library/src/cover/edit/inspector-controls.js @@ -319,6 +319,7 @@ export default function CoverInspectorControls( { )' ), value: 'div' }, diff --git a/packages/block-library/src/group/edit.js b/packages/block-library/src/group/edit.js index 4d5354eff0180..277fa6872fa82 100644 --- a/packages/block-library/src/group/edit.js +++ b/packages/block-library/src/group/edit.js @@ -52,6 +52,7 @@ function GroupEditControls( { tagName, onSelectTagName } ) { )' ), value: 'div' }, diff --git a/packages/block-library/src/query/edit/query-content.js b/packages/block-library/src/query/edit/query-content.js index 6fef2c43b4aff..4d9b8885cb15e 100644 --- a/packages/block-library/src/query/edit/query-content.js +++ b/packages/block-library/src/query/edit/query-content.js @@ -131,6 +131,7 @@ export default function QueryContent( { )' ), value: 'div' }, diff --git a/packages/block-library/src/template-part/edit/advanced-controls.js b/packages/block-library/src/template-part/edit/advanced-controls.js index b879b46638fac..8ad4b4bdbeb1d 100644 --- a/packages/block-library/src/template-part/edit/advanced-controls.js +++ b/packages/block-library/src/template-part/edit/advanced-controls.js @@ -95,6 +95,7 @@ export function TemplatePartAdvancedControls( { ) }