From 6d8ca5fc26d7bb43c9211689c34e682658c96033 Mon Sep 17 00:00:00 2001 From: iseulde Date: Mon, 22 May 2017 15:57:33 +0200 Subject: [PATCH] Use value instead of defaultValue on textarea --- blocks/library/code/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/library/code/index.js b/blocks/library/code/index.js index d77b1448700be0..12129673e163bd 100644 --- a/blocks/library/code/index.js +++ b/blocks/library/code/index.js @@ -25,7 +25,7 @@ registerBlock( 'core/code', { edit( { attributes, setAttributes, setFocus } ) { return ( setAttributes( { content: event.target.value } ) } />