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

@ -0,0 +1,11 @@
'use strict';
export const CodeEditorSourceType = {
MJML: 'mjml',
HTML: 'html'
};
export const getCodeEditorSourceTypeOptions = t => [
{key: CodeEditorSourceType.MJML, label: t('MJML')},
{key: CodeEditorSourceType.HTML, label: t('HTML')}
];