Iain Magee
Iain Magee
I'm seeing the same thing. Not figured out why yet.
I've looked into this a bit more. It fails if you destroy and recreate the host component of EmailEditorComponent. On trying to exportHtml after a destroy & create it gives...
This is the where the script tag is created in EmailEditorComponent. .. ``` ngOnInit() { const unlayerScript = document.createElement('script'); unlayerScript.setAttribute('src', '//editor.unlayer.com/embed.js'); unlayerScript.onload = () => { this.loadEditor(); }; document.head.appendChild(unlayerScript); }...