Skip to content

Commit

Permalink
Quote Block: Adding a default value to avoid undefined content
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Jun 26, 2017
1 parent 5cdee57 commit 6cce2c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blocks/library/quote/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ registerBlockType( 'core/quote', {
citation: children( 'footer' ),
},

defaultAttributes: {
value: [],
},

transforms: {
from: [
{
Expand Down

0 comments on commit 6cce2c2

Please sign in to comment.