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 e548fece552f9d..263e8bde699170 100644 --- a/packages/block-library/src/comments/edit/comments-inspector-controls.js +++ b/packages/block-library/src/comments/edit/comments-inspector-controls.js @@ -6,9 +6,17 @@ import { __ } from '@wordpress/i18n'; import { InspectorControls } from '@wordpress/block-editor'; export default function CommentsInspectorControls( { - attributes: { TagName }, + attributes: { tagName }, setAttributes, } ) { + const htmlElementMessages = { + section: __( + "The
element should represent a standalone portion of the document that can't be better represented by another element." + ), + aside: __( + "The