- Admin Panel / Layout / Custom HTML after <body> start, and Custom HTML before </body> end.

In progress, does not work yet.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2018-12-16 22:21:16 +02:00
parent a42d9871bd
commit f1ed6304a4
7 changed files with 48 additions and 2 deletions

View file

@ -140,6 +140,8 @@ BlazeComponent.extendComponent({
const productName = $('#product-name').val().trim();
const hideLogoChange = ($('input[name=hideLogo]:checked').val() === 'true');
const customHTMLafterBodyStart = $('#customHTMLafterBodyStart').val().trim();
const customHTMLbeforeBodyEnd = $('#customHTMLbeforeBodyEnd').val().trim();
try {
@ -147,6 +149,8 @@ BlazeComponent.extendComponent({
$set: {
productName,
hideLogo: hideLogoChange,
customHTMLafterBodyStart,
customHTMLbeforeBodyEnd,
},
});
} catch (e) {