Skip to content

Commit

Permalink
Remove duplication compat styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jul 6, 2023
1 parent fcbe60f commit 27b1cc4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/block-editor/src/components/iframe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,16 +133,6 @@ function Iframe( {
}
}

for ( const compatStyle of compatStyles ) {
if ( contentDocument.getElementById( compatStyle.id ) ) {
continue;
}

contentDocument.head.appendChild(
compatStyle.cloneNode( true )
);
}

contentDocument.dir = ownerDocument.dir;

for ( const compatStyle of compatStyles ) {
Expand Down

0 comments on commit 27b1cc4

Please sign in to comment.