diff --git a/packages/block-editor/src/components/editor-styles/index.js b/packages/block-editor/src/components/editor-styles/index.js index 85c54109d0231b..024427b0a34a36 100644 --- a/packages/block-editor/src/components/editor-styles/index.js +++ b/packages/block-editor/src/components/editor-styles/index.js @@ -88,7 +88,7 @@ export default function EditorStyles( { styles, scope } ) { return [ transformStyles( _styles.filter( ( style ) => style?.css ), - scope + scope ? `:where(${ scope })` : undefined ), _styles .filter( ( style ) => style.__unstableType === 'svgs' )