Fix support for the placeholder property in RichEditor FormWidgets
This commit is contained in:
parent
9f304d2ef8
commit
400ce2391e
|
|
@ -22,9 +22,12 @@
|
|||
<?php if ($tableCellStyles): ?>data-table-cell-styles="<?= e(json_encode($tableCellStyles)) ?>"<?php endif ?>
|
||||
data-links-handler="<?= $this->getEventHandler('onLoadPageLinksForm') ?>"
|
||||
data-ace-vendor-path="<?= Url::asset('/modules/backend/formwidgets/codeeditor/assets/vendor/ace') ?>"
|
||||
placeholder="<?= e(trans($field->placeholder)) ?>"
|
||||
data-control="richeditor">
|
||||
<textarea name="<?= $name ?>" id="<?= $this->getId('textarea') ?>"><?= e($value) ?></textarea>
|
||||
<textarea
|
||||
placeholder="<?= e(trans($field->placeholder)) ?>"
|
||||
name="<?= $name ?>"
|
||||
id="<?= $this->getId('textarea') ?>"
|
||||
><?= e($value) ?></textarea>
|
||||
<div class="height-indicator"></div>
|
||||
</div>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue