diff --git a/packages/block-library/src/editor.scss b/packages/block-library/src/editor.scss index edb66416af88c5..0b9e3e451337e7 100644 --- a/packages/block-library/src/editor.scss +++ b/packages/block-library/src/editor.scss @@ -93,3 +93,8 @@ * These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper. * This allows us to create normalization styles that are easily overridden by editor styles. */ + +// Remove the browser default border for iframe in Custom HTML block, Embed block, etc. +.editor-styles-wrapper iframe:not([frameborder]) { + border: 0; +}