We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27e8471 commit 5d06325Copy full SHA for 5d06325
app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/master-format/filter-html.ts
@@ -22,7 +22,7 @@ export default function filterHtml(element: JQuery): JQuery {
22
element.find("*").each(
23
(index, value) => {
24
const isIframe = value.tagName === "IFRAME";
25
- const isBeingBypassedByThisFilter = !!$(value).closest('.bypass-html-filter').length;
+ const isBeingBypassedByThisFilter = !!$(value).closest(".bypass-html-filter").length;
26
if (!isIframe && !isBeingBypassedByThisFilter) {
27
$(value).contents().filter(isWhiteSpaceOrComment).remove();
28
}
0 commit comments