Skip to content

Commit

Permalink
Block Editor: Remove reset styles RTL from the iframe (#65150)
Browse files Browse the repository at this point in the history
Unlinked contributors: realthemes.

Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
  • Loading branch information
3 people committed Sep 9, 2024
1 parent 1d33b4e commit 7376a63
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ export function getCompatibilityStyles() {
// Don't try to add the reset styles, which were removed as a dependency
// from `edit-blocks` for the iframe since we don't need to reset admin
// styles.
if ( ownerNode.id === 'wp-reset-editor-styles-css' ) {
if (
[
'wp-reset-editor-styles-css',
'wp-reset-editor-styles-rtl-css',
].includes( ownerNode.id )
) {
return accumulator;
}

Expand Down

1 comment on commit 7376a63

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 7376a63.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/10774786936
📝 Reported issues:

Please sign in to comment.