Skip to content

Commit 73952fb

Browse files
AC-245: Update Core Code
1 parent 90e492e commit 73952fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/tinymce5Adapter.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ define([
196196
selector: '#' + this.getId(),
197197
theme: 'silver',
198198
skin: 'oxide',
199-
toolbar_mode: 'wrap',
199+
'toolbar_mode': 'wrap',
200200
'entity_encoding': 'raw',
201201
'convert_urls': false,
202202
'content_css': this.config.tinymce['content_css'],
@@ -273,8 +273,8 @@ define([
273273
settings.skin = this.config.skin;
274274
}
275275

276-
if (this.config.toolbar_mode) {
277-
settings.toolbar_mode = this.config.toolbar_mode;
276+
if (this.config['toolbar_mode']) {
277+
settings['toolbar_mode'] = this.config['toolbar_mode'];
278278
}
279279

280280
if (this.config.baseStaticUrl && this.config.baseStaticDefaultUrl) {

0 commit comments

Comments
 (0)