From 4fc698e3be6ea657f0c6a5adbae41ae9fbf5ed99 Mon Sep 17 00:00:00 2001 From: mic Date: Mon, 14 Oct 2024 22:06:28 +0200 Subject: [PATCH] html_body placeholder added. see #153 --- _locales/en/messages.json | 4 ++++ js/mzta-placeholders.js | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 49d1afa2..d5918bd9 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -595,6 +595,10 @@ "message": "Mail body", "description": "" }, + "placeholder_html_body": { + "message": "HTML mail body", + "description": "" + }, "placeholder_mail_subject": { "message": "Mail subject", "description": "" diff --git a/js/mzta-placeholders.js b/js/mzta-placeholders.js index 93f906e9..48d2aa0f 100644 --- a/js/mzta-placeholders.js +++ b/js/mzta-placeholders.js @@ -40,6 +40,13 @@ const defaultPlaceholders = [ type: 0, is_default: "1", }, + { + id: 'html_body', + name: "__MSG_placeholder_html_body__", + text: "", + type: 0, + is_default: "1", + }, { id: 'mail_subject', name: "__MSG_placeholder_mail_subject__",