Skip to content

Commit 287b7fe

Browse files
committed
tinymce_config
1 parent 1520f50 commit 287b7fe

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/config.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,18 @@
120120
'toolbar' => 'code visualblocks | undo redo | styleselect | bold italic | bullist numlist outdent indent | link | image media table',
121121
],
122122

123+
/*
124+
|--------------------------------------------------------------------------
125+
| tinymce_config
126+
|--------------------------------------------------------------------------
127+
| You can set any tinymce configuration option here.
128+
*/
129+
'tinymce_config' => '
130+
invalid_styles: {
131+
td: "width"
132+
},
133+
',
134+
123135
/*
124136
|--------------------------------------------------------------------------
125137
| modules

src/views/model.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
@endif
122122
tinymce.init({
123123
selector:'textarea.tinymce',
124+
{!! config('admin.tinymce_config') !!}
124125
theme: '{{ config('admin.tinymce_defaults.theme', 'modern') }}',
125126
menubar: false,
126127
branding: false,

0 commit comments

Comments
 (0)