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 1a33cb68ea38a..fda1fb3cc2e4b 100644 --- a/packages/block-library/src/comments/edit/comments-inspector-controls.js +++ b/packages/block-library/src/comments/edit/comments-inspector-controls.js @@ -5,18 +5,15 @@ import { SelectControl } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { InspectorControls } from '@wordpress/block-editor'; +/** + * Internal dependencies + */ +import { htmlElementMessages } from '../../utils/messages'; + export default function CommentsInspectorControls( { 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