Skip to content

Commit

Permalink
adding commet regarding svgFilters rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenedetto committed May 24, 2022
1 parent 4e90f5f commit bdcd127
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/block-editor/src/components/block-preview/auto.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,15 @@ function AutoBlockPreview( {
} }
>
{ contentResizeListener }
{ duotonePresets.map( ( preset ) => (
<PresetDuotoneFilter
preset={ preset }
key={ preset.slug }
/>
) ) }
{
/* Filters need to be rendered before children to avoid Safari rendering issues. */
duotonePresets.map( ( preset ) => (
<PresetDuotoneFilter
preset={ preset }
key={ preset.slug }
/>
) )
}
<MemoizedBlockList renderAppender={ false } />
</Iframe>
</Disabled>
Expand Down

0 comments on commit bdcd127

Please sign in to comment.