diff --git a/components/html-embed/index.js b/components/html-embed/index.js
index c4e113f13e54d..700256e86ed0b 100644
--- a/components/html-embed/index.js
+++ b/components/html-embed/index.js
@@ -1,3 +1,8 @@
+/**
+ * Internal dependencies
+ */
+import './style.scss';
+
// When embedding HTML from the WP oEmbed proxy, we need to insert it
// into a div and make sure any scripts get run. This component takes
// HTML and puts it into a div element, and creates and adds new script
@@ -27,7 +32,11 @@ export default class HtmlEmbed extends wp.element.Component {
render() {
return (
-
this.node = node } />
+
this.node = node }
+ />
);
}
}
diff --git a/components/html-embed/style.scss b/components/html-embed/style.scss
new file mode 100644
index 0000000000000..df3e71c8ec08a
--- /dev/null
+++ b/components/html-embed/style.scss
@@ -0,0 +1,3 @@
+.html-embed {
+ pointer-events: none;
+}
diff --git a/editor/modes/visual-editor/style.scss b/editor/modes/visual-editor/style.scss
index 3f6239ff02375..1080e3304df5e 100644
--- a/editor/modes/visual-editor/style.scss
+++ b/editor/modes/visual-editor/style.scss
@@ -60,24 +60,6 @@
border: 2px solid $blue-medium-200;
}
- .iframe-overlay {
- position: relative;
- }
-
- .iframe-overlay:before {
- content: '';
- display: block;
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- }
-
- &.is-selected .iframe-overlay:before {
- display: none;
- }
-
// Alignments
&[data-align="left"],
&[data-align="right"] {