From 0140e253f7601fd5cf974180758ca2e2b382bac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?So=CC=88ren=20Wrede?= Date: Fri, 25 Jan 2019 12:14:05 +0100 Subject: [PATCH] Set minimum of words for RSS excerpt --- packages/block-library/src/rss/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/rss/edit.js b/packages/block-library/src/rss/edit.js index 9ebfa94491533b..5c54911585732d 100644 --- a/packages/block-library/src/rss/edit.js +++ b/packages/block-library/src/rss/edit.js @@ -140,7 +140,7 @@ class RSSEdit extends Component { label={ __( 'Max length of the excerpt' ) } value={ excerptLength } onChange={ ( value ) => setAttributes( { excerptLength: value } ) } - min={ 0 } + min={ 10 } max={ 100 } /> }