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

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

parent 3d9c1f45
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.
Finish editing this message first!
Please register or to comment