diff --git a/packages/edit-post/src/components/visual-editor/index.js b/packages/edit-post/src/components/visual-editor/index.js index 21760ccfb40dd..263dc8044e3f2 100644 --- a/packages/edit-post/src/components/visual-editor/index.js +++ b/packages/edit-post/src/components/visual-editor/index.js @@ -44,6 +44,8 @@ import { store as coreStore } from '@wordpress/core-data'; */ import { store as editPostStore } from '../../store'; +const isGutenbergPlugin = process.env.IS_GUTENBERG_PLUGIN ? true : false; + function MaybeIframe( { children, contentRef, shouldIframe, styles, style } ) { const ref = useMouseMoveTypingReset(); @@ -339,7 +341,9 @@ export default function VisualEditor( { styles } ) { >