Skip to content

Commit

Permalink
Remove random empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
igorschoester committed May 15, 2018
1 parent 54db83b commit 4bf9ebb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions composites/Plugin/SnippetEditor/serialization.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,12 @@ export function unserializeEditor( content, tags ) {
// Create the DraftJS data.
const { entityRange, mappedEntity } = unserializeEntity( key, tag.name, offset );
entityRanges.push( entityRange );

entityMap[ key ] = mappedEntity;
}

const blocks = [ {
entityRanges,
text: content,

} ];

return {
Expand Down

0 comments on commit 4bf9ebb

Please sign in to comment.