Modify codeditor widget to implement html attributes set through form field definition (#5001)

This commit is contained in:
Klaas Poortinga 2020-03-25 21:47:39 +01:00 committed by GitHub
parent 3450921c26
commit c79bea7449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@
data-read-only="<?= $readOnly ? 'true' : 'false' ?>"
data-language="<?= $language ?>"
data-margin="<?= $margin ?>"
data-vendor-path="<?= Url::asset('/modules/backend/formwidgets/codeeditor/assets/vendor/ace') ?>">
data-vendor-path="<?= Url::asset('/modules/backend/formwidgets/codeeditor/assets/vendor/ace') ?>"
<?= $this->formField->getAttributes() ?>>
<div class="editor-toolbar">
<ul>
<li class="searchbox-enable">