diff --git a/packages/block-editor/src/components/block-button/index.js b/packages/block-editor/src/components/block-button/index.js index 3707f63ff1c8bb..3facf06faefa9e 100644 --- a/packages/block-editor/src/components/block-button/index.js +++ b/packages/block-editor/src/components/block-button/index.js @@ -13,6 +13,11 @@ export default class BlockButton extends Component { const newProps = { ...this.props }; newProps.className += ' wp-element-button'; + // If children are set then we only need a button, not RichText. + if ( newProps.children ) { + return + ) } { ! buttonUseIcon && (