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
public ngAfterViewInit(): void { console.log('init'); this.emailEditor?.editor.init(); this.emailEditor?.loadDesign(sample); }
I tried with both this.emailEditor?.loadDesign(sample); and this.emailEditor?.editor.loadDesign(sample) but it does nothing, i get the empty starting template
I tried calling it after editorReady or editorLoaded, but nothing changes, is there something I am missing?
The text was updated successfully, but these errors were encountered:
Hello, I am trying to load a sample from a JSON, here is how I try :
`
<button (click)="exportHtml()">Export
<email-editor [projectId]="myid" (loaded)="editorLoaded($event)" (ready)="editorReady($event)">
public ngAfterViewInit(): void { console.log('init'); this.emailEditor?.editor.init(); this.emailEditor?.loadDesign(sample); }
I tried with both
this.emailEditor?.loadDesign(sample);
andthis.emailEditor?.editor.loadDesign(sample)
but it does nothing, i get the empty starting templateI tried calling it after editorReady or editorLoaded, but nothing changes, is there something I am missing?
The text was updated successfully, but these errors were encountered: