document.addEventListener("DOMContentLoaded", function () { // pagesguru-core-marketing.js v1.3 // Changes in v1.3 (email-editor hardening, informed by // grapesjs-preset-newsletter's architecture): // - Communication editor no longer loads webpage plugins // (preset-webpage, bootstrap-5, lory-slider, style-bg/gradient/filter, // custom-code, blocks-basic); keeps parser-postcss + tui-image-editor // - Communication editor gets a minimal email canvas shell (grey // background, 600px white container, email table/td resets) instead of // the iMIS page skeleton; website editor frameContent unchanged // - Communication editor gets a reduced, email-safe Style Manager // (typography / background-color / spacing / borders / dimensions) // - Inliner exposed as command "pg-get-inlined-html"; save path runs it // through the command and aborts loudly (no stale persist) on failure // - Communication save now emits a complete email document // (buildEmailDocument): doctype + MSO namespaces + head " + "" + "
" + '| ' + inner + " |