auto check editor if content is defined

This commit is contained in:
Dennis Eichhorn 2021-08-06 19:23:15 +02:00
parent ceb156521c
commit a82094e21c

View File

@ -4,7 +4,7 @@
<li<?= !empty($this->plain) ? ' class="active"' : ''; ?>><label tabindex="0" for="<?= $this->renderId(); ?>-c-tab-2"><?= $this->getHtml('Preview', 'Editor'); ?></label>
</ul>
<div class="tab-content">
<input type="radio" id="<?= $this->renderId(); ?>-c-tab-1" name="tabular-1">
<input type="radio" id="<?= $this->renderId(); ?>-c-tab-1" name="tabular-1"<?= empty($this->plain) ? ' checked' : ''; ?>>
<div class="tab">
<textarea
tabindex="0"