work in progress on campaign edit
This commit is contained in:
parent
0e0fb944e3
commit
ade0fc87f2
10 changed files with 231 additions and 81 deletions
|
@ -81,6 +81,12 @@ exports.up = (knex, Promise) => (async() => {
|
|||
editorType = 'ckeditor';
|
||||
}
|
||||
|
||||
if (editorType == 'mosaico') {
|
||||
editorType = 'mosaicoWithFsTemplate';
|
||||
editorData.mosaicoFsTemplate = editorData.template;
|
||||
delete editorData.template;
|
||||
}
|
||||
|
||||
campaign.source = CampaignSource.CUSTOM_FROM_TEMPLATE;
|
||||
data.sourceCustom = {
|
||||
type: editorType,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue