You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how can we create a custom block JSON? this is my sample code ? <EmailEditor ref="emailEditor" :min-height="minHeight" :locale="locale" @load="editorLoaded" @ready="editorReady" />
This is the load function
`
const editorLoaded = () => {
// This is the variable I need fill
let blocks = [];
emailEditor.value.editor.registerProvider('blocks', function (params, done) {
console.log('blocks provider', params);
done(blocks);
});
};
`
The text was updated successfully, but these errors were encountered:
how can we create a custom block JSON? this is my sample code ?
<EmailEditor ref="emailEditor" :min-height="minHeight" :locale="locale" @load="editorLoaded" @ready="editorReady" />
This is the load function
`
const editorLoaded = () => {
`
The text was updated successfully, but these errors were encountered: