Skip to content
Prev Previous commit
Adding a comment about the temporary wrapper
  • Loading branch information
youknowriad committed Apr 18, 2017
commit ee12b370db15507a36da0fbc03afaeb0893beb26
1 change: 1 addition & 0 deletions blocks/library/text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ registerBlock( 'core/text', {
save( { attributes } ) {
const { align, content } = attributes;

// Todo: Remove the temporary <div> wrapper once the serializer supports returning an array
return (
<div>
{ content && content.map( ( paragraph, i ) => (
Expand Down