Added MJML/HTML codeeditor with a preview for template design.
This commit is contained in:
parent
c7d7b1fe0c
commit
7e52000219
24 changed files with 887 additions and 279 deletions
|
@ -20,7 +20,7 @@ users.registerRestrictedAccessTokenMethod('ckeditor', async ({entityTypeId, enti
|
|||
if (entityTypeId === 'template') {
|
||||
const tmpl = await templates.getById(contextHelpers.getAdminContext(), entityId, false);
|
||||
|
||||
if (tmpl.type === 'ckeditor') {
|
||||
if (tmpl.type === 'ckeditor4') {
|
||||
return {
|
||||
permissions: {
|
||||
'template': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue