Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

designTagsConfig #79

Open
Orayi opened this issue Jan 3, 2023 · 1 comment
Open

designTagsConfig #79

Orayi opened this issue Jan 3, 2023 · 1 comment

Comments

@Orayi
Copy link

Orayi commented Jan 3, 2023

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
Copy link
Author

Orayi commented Jan 3, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant