Email template not loading

This issue has been tracked since 2022-06-03.

hii ,

When trying to create a new email template it just displays loading. I am not able to get the issue.

Code snippet :

<EmailEditor ref={(editor) => (this.editor = editor)} onLoad={this.onLoadTemplate} options={options} />

onLoadTemplate = () => {
const { messageJson } = this.state;
setTimeout(() => this.editor && this.editor.loadDesign({ body: '', counters: '' }), 1000);
};

initially messageJson filed is empty ( ' ' ) . When you create new email template.

const options = {
id: 'editor-container',
projectId: 854,
templateId: emailTemplateRow ? '' : emailTemplatedId,
displayMode: 'email',
};

Here is screencast: https://share.vidyard.com/watch/UiyB2gaJXq3hSM7u5fkLQG?

More Details About Repo
Owner Name unlayer
Repo Name react-email-editor
Full Name unlayer/react-email-editor
Language JavaScript
Created Date 2017-10-01
Updated Date 2022-12-05
Star Count 3598
Watcher Count 48
Fork Count 627
Issue Count 163

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date