Skip to content

Commit

Permalink
Disable autocomplete for Custom Class name Input (#21110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Quach authored Mar 25, 2020
1 parent 5057b6c commit 2a53406
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-editor/src/hooks/custom-class-name.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const withInspectorControl = createHigherOrderComponent(
<BlockEdit { ...props } />
<InspectorAdvancedControls>
<TextControl
autoComplete="off"
label={ __( 'Additional CSS class(es)' ) }
value={ props.attributes.className || '' }
onChange={ ( nextValue ) => {
Expand Down

0 comments on commit 2a53406

Please sign in to comment.