diff --git a/blocks/library/button/test/__snapshots__/index.js.snap b/blocks/library/button/test/__snapshots__/index.js.snap index 02ccb119e2de0..c90afe81797fe 100644 --- a/blocks/library/button/test/__snapshots__/index.js.snap +++ b/blocks/library/button/test/__snapshots__/index.js.snap @@ -11,6 +11,7 @@ exports[`core/button block edit matches snapshot 1`] = ` aria-label="Add text…" class="wp-block-button__link blocks-rich-text__tinymce" contenteditable="true" + data-is-placeholder-visible="true" />
this.editorNode = node, - contentEditable: true, - suppressContentEditableWarning: true, + ...ariaProps, className: classnames( className, 'blocks-rich-text__tinymce' ), + contentEditable: true, + [ IS_PLACEHOLDER_VISIBLE_ATTR_NAME ]: isPlaceholderVisible, + ref: ( node ) => this.editorNode = node, style, - ...ariaProps, + suppressContentEditableWarning: true, }, children ); } }