Added MJML/HTML codeeditor with a preview for template design.

This commit is contained in:
Tomas Bures 2018-11-13 21:35:33 +01:00
parent c7d7b1fe0c
commit 7e52000219
24 changed files with 887 additions and 279 deletions

View file

@ -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': {