Skip to content

Commit

Permalink
Add post-type-X classname to block editor iframe (#37429)
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Walbø Johnsgård committed Dec 30, 2021
1 parent 05f1024 commit 7bf3dfb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-editor/src/components/iframe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ function Iframe(
Array.from( ownerDocument.body.classList ).filter(
( name ) =>
name.startsWith( 'admin-color-' ) ||
name.startsWith( 'post-type-' ) ||
name === 'wp-embed-responsive'
)
);
Expand Down

0 comments on commit 7bf3dfb

Please sign in to comment.