Skip to content
Snippets Groups Projects
Commit a51a1cf1 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

allow adding/editing announcements without WYSIWYG enabled, fixes #2373

parent 64b6b78d
No related branches found
No related tags found
No related merge requests found
......@@ -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) ?>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment