From 94897b18fdc58693af1b38a5710e578cffdc2b27 Mon Sep 17 00:00:00 2001 From: witzig Date: Fri, 10 Mar 2017 15:44:23 +0100 Subject: [PATCH] Allow external custom scripts for Mosaico --- config/default.toml | 4 ++-- views/mosaico/layout-editor.hbs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/default.toml b/config/default.toml index 63b08a91..bea73175 100644 --- a/config/default.toml +++ b/config/default.toml @@ -135,8 +135,8 @@ processes=1 [mosaico] # Installed templates templates=[["versafix-1", "Versafix One"]] -# Inject custom scripts from public/mosaico/custom/ -# customscripts=["some-lib.js", "my-mosaico-plugin.js"] +# Inject custom scripts +# customscripts=["/mosaico/custom/my-mosaico-plugin.js"] [grapejs] # Installed templates diff --git a/views/mosaico/layout-editor.hbs b/views/mosaico/layout-editor.hbs index 4787f670..175be4cf 100644 --- a/views/mosaico/layout-editor.hbs +++ b/views/mosaico/layout-editor.hbs @@ -25,7 +25,7 @@ {{#if editorConfig.customscripts}} {{#each editorConfig.customscripts}} - + {{/each}} {{/if}}