MCPcopy
hub / github.com/GrapesJS/grapesjs / fixJsDom

Function fixJsDom

packages/core/test/common.ts:68–70  ·  view source on GitHub ↗
(editor: Editor)

Source from the content-addressed store, hash-verified

66}
67
68export function fixJsDom(editor: Editor) {
69 fixJsDomIframe(editor);
70}
71
72export const fixJsDomIframe = (em: EditorModel | Editor) => {
73 em.on(CanvasEvents.frameLoad, ({ el, view }) => {

Callers

nothing calls this directly

Calls 1

fixJsDomIframeFunction · 0.85

Tested by

no test coverage detected