Skip to content

Commit

Permalink
Set minimum of words for RSS excerpt (#13502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Soean committed Jan 25, 2019
1 parent 7c26c89 commit 310cb4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/rss/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class RSSEdit extends Component {
label={ __( 'Max number of words in excerpt' ) }
value={ excerptLength }
onChange={ ( value ) => setAttributes( { excerptLength: value } ) }
min={ 0 }
min={ 10 }
max={ 100 }
/>
}
Expand Down

0 comments on commit 310cb4b

Please sign in to comment.