From 6cce2c22b2c86257456a3c3491228a778a9779cb Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Thu, 22 Jun 2017 11:47:13 +0100 Subject: [PATCH] Quote Block: Adding a default value to avoid undefined content --- blocks/library/quote/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/blocks/library/quote/index.js b/blocks/library/quote/index.js index 68380fd59a2b8..7432ece6968dc 100644 --- a/blocks/library/quote/index.js +++ b/blocks/library/quote/index.js @@ -30,6 +30,10 @@ registerBlockType( 'core/quote', { citation: children( 'footer' ), }, + defaultAttributes: { + value: [], + }, + transforms: { from: [ {