Skip to content

Commit

Permalink
Block Switcher: Fix heading to text transformation (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored Apr 19, 2017
1 parent 349c8f3 commit 35ff397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/library/heading/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ registerBlock( 'core/heading', {
blocks: [ 'core/text' ],
transform: ( { content, align } ) => {
return {
content,
content: [ content ],
align
};
}
Expand Down

0 comments on commit 35ff397

Please sign in to comment.