-
Notifications
You must be signed in to change notification settings - Fork 172
Open
Description
The latest update to version 2.1.2 brakes the editor (2.1.1 still works). The following error occurs:
runtime-core.esm-bundler.js:408 Uncaught DOMException: Failed to execute 'postMessage' on 'Window': #<Object> could not be cloned.
at https://editor.unlayer.com/embed.js?2:1:15159
at Proxy.forEach (<anonymous>)
at Proxy.value (https://editor.unlayer.com/embed.js?2:1:15081)
at Proxy.value (https://editor.unlayer.com/embed.js?2:1:13882)
at Proxy.value (https://editor.unlayer.com/embed.js?2:1:13990)
at Proxy.value (https://editor.unlayer.com/embed.js?2:1:29029)
at Proxy.saveDesign (webpack-internal:///./node_modules/ts-loader/index.js??clonedRuleSet-40.use…s??ruleSet[0].use[0]!./src/views/Example.vue?vue&type=script&lang=ts:41:39)
at onClick._cache.<computed>._cache.<computed> (webpack-internal:///./node_modules/ts-loader/index.js??clonedRuleSet-40.use…use[0]!./src/views/Example.vue?vue&type=template&id=1a31a320&ts=true:20:63)
at callWithErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:338:19)
at callWithAsyncErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:345:17)
This can be reproduced using the example editor from this repository and doing the following steps:
npm ci
npm run serve
Then open the application in the browser and hit the Save Design button. Then you will see this:
The error occurs when using the exportHtml function of the editor.
Metadata
Metadata
Assignees
Labels
No labels
