File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 101101 | Default tinymce options for all modules, can be overruled per module
102102 */
103103 'tinymce_defaults ' => [
104+ 'version ' => '5.1.2 ' ,
105+ 'theme ' => 'silver ' ,
104106 'formats ' => "
105107 {title: 'H2', block: 'h2', classes: 'h2'},
106108 {title: 'H3', block: 'h3', classes: 'h3'},
Original file line number Diff line number Diff line change 104104<script src =" https://cdnjs.cloudflare.com/ajax/libs/jquery-ui-timepicker-addon/1.6.3/jquery-ui-timepicker-addon.min.js" ></script >
105105<script src =" https://cdnjs.cloudflare.com/ajax/libs/jquery-ui-timepicker-addon/1.6.3/i18n/jquery-ui-timepicker-addon-i18n.js" ></script >
106106<script src =" https://cdnjs.cloudflare.com/ajax/libs/nestedSortable/2.0.0/jquery.mjs.nestedSortable.min.js" ></script >
107- <script src =" https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.7.13/tinymce.min.js" ></script >
107+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/tinymce/{{ config ( ' admin.tinymce_defaults.version ' , ' 4.7.13' ) } } /tinymce.min.js" ></script >
108108<script >
109109 var trans = {
110110 ' caption' : ' {{ trans (' admin::base.captionfor' ) } }' ,
118118@endif
119119 tinymce .init ({
120120 selector: ' textarea.tinymce' ,
121- theme: ' modern' ,
121+ theme: ' {{ config ( ' admin.tinymce_defaults.theme ' , ' modern' ) } } ' ,
122122 menubar: false ,
123123 branding: false ,
124124 paste_as_text: true ,
You can’t perform that action at this time.
0 commit comments