We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
by converting object parameter to JSONTemplate in the below commit 0053156#diff-799ddc34b2296767ac7f9fa14bae6050609a104930ded4de787dfdb7f49e50cbL97
the angular port of unlayer cannot use the legacy template loading as described in the official docs https://docs.unlayer.com/docs/legacy-templates https://examples.unlayer.com/web/legacy-template/
The text was updated successfully, but these errors were encountered:
as a workaround for anyone that comes across this you can use: this.editor.loadDesign({html: '...', classic: true} as any);
this.editor.loadDesign({html: '...', classic: true} as any);
but I think the angular implementation needs to provide the fully typed option with something like that:
loadDesign(design: JSONTemplate | ClassicTemplate): void; export type ClassicTemplate= { html: string; classic: boolean; //other properties };
Sorry, something went wrong.
No branches or pull requests
by converting object parameter to JSONTemplate in the below commit
0053156#diff-799ddc34b2296767ac7f9fa14bae6050609a104930ded4de787dfdb7f49e50cbL97
the angular port of unlayer cannot use the legacy template loading as described in the official docs
https://docs.unlayer.com/docs/legacy-templates
https://examples.unlayer.com/web/legacy-template/
The text was updated successfully, but these errors were encountered: