From a51a1cf118bd9ad49b7786019fc512dd3f5f2e3a Mon Sep 17 00:00:00 2001 From: Moritz Strohm <strohm@data-quest.de> Date: Fri, 2 Jun 2023 17:44:32 +0200 Subject: [PATCH] allow adding/editing announcements without WYSIWYG enabled, fixes #2373 --- templates/forms/i18n_formatted_input.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/forms/i18n_formatted_input.php b/templates/forms/i18n_formatted_input.php index 4e667f5f2bf..f47d775755f 100644 --- a/templates/forms/i18n_formatted_input.php +++ b/templates/forms/i18n_formatted_input.php @@ -7,7 +7,7 @@ <span class="asterisk" title="<?= _('Dies ist ein Pflichtfeld') ?>" aria-hidden="true">*</span> <? endif ?> </label> - <i18n-textarea type="wysiwyg" + <i18n-textarea type="<?= \Config::get()->WYSIWYG ? 'wysiwyg' : 'textarea' ?>" id="<?= $id ?>" name="<?= htmlReady($name) ?>" value="<?= htmlReady($value) ?>" -- GitLab