vue-email-editor icon indicating copy to clipboard operation
vue-email-editor copied to clipboard

designTagsConfig

Open Orayi opened this issue 2 years ago • 1 comments

Adding designTagsConfig to the editors options stops the editor loading:

options:{
    projectId: ****,
    displayMode: 'email',
    designTagsConfig: {
        delimiter: ['[[[', ']]]']
    }
}

Uncaught DOMException: Failed to execute 'postMessage' on 'Window': #<Object> could not be cloned. at http://editor.unlayer.com/embed.js?2:1:13252 at Array.forEach (<anonymous>) at e.value (http://editor.unlayer.com/embed.js?2:1:13174) at iframe.onload (http://editor.unlayer.com/embed.js?2:1:12257)

Orayi avatar Jan 03 '23 17:01 Orayi

The following does work, guessed from the Merge Tags documentation:

this.$refs.emailEditor.editor.setDesignTagsConfig({
    delimiter: ['[[[', ']]]']
})

Orayi avatar Jan 03 '23 18:01 Orayi