From 57c9a31602067b8328713b30607212613b98de60 Mon Sep 17 00:00:00 2001 From: Danilo Ercoli Date: Thu, 13 Dec 2018 09:39:07 +0100 Subject: [PATCH] Use the default "Read More" text on init only, giving the ability to user to empty the field and re-start with empty text (#12821) --- packages/block-library/src/more/edit.native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/more/edit.native.js b/packages/block-library/src/more/edit.native.js index da731dd953f13..2a17104d3077b 100644 --- a/packages/block-library/src/more/edit.native.js +++ b/packages/block-library/src/more/edit.native.js @@ -54,7 +54,7 @@ export default class MoreEdit extends Component { renderText() { const { attributes, onFocus, onBlur } = this.props; const { customText } = attributes; - const defaultText = __( 'Read more' ); + const { defaultText } = this.state; const value = customText !== undefined ? customText : defaultText; return (