Skip to content

Commit d3460d6

Browse files
committed
replace deprecated formattingControls
1 parent 98dc799 commit d3460d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/button/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const BootstrapButtonEdit = ( {
9292
placeholder={ __( 'Add text...', 'wp-bootstrap-blocks' ) }
9393
value={ text }
9494
onChange={ ( value ) => setAttributes( { text: value } ) }
95-
formattingControls={ [] }
95+
allowedFormats={ [] }
9696
keepPlaceholderOnFocus
9797
/>
9898
<InspectorControls>

0 commit comments

Comments
 (0)