Skip to content

Commit

Permalink
Remove more unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanValverdeU committed Jun 5, 2024
1 parent 5b1c7bd commit 703d103
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function applyDefaultFormat(
break;

case 'Paragraph':
const decoratorFormat = block.decorator?.format || {};
const paragraphFormat = block.decorator?.format || {};
const paragraph = mutateBlock(block);

paragraph.segments.forEach(segment => {
Expand All @@ -357,7 +357,7 @@ function applyDefaultFormat(
}

segment.format = mergeSegmentFormat(applyDefaultFormatOption, format, {
...decoratorFormat,
...paragraphFormat,
...segment.format,
});

Expand Down

0 comments on commit 703d103

Please sign in to comment.