Skip to content

Commit 4d0acf2

Browse files
Merge remote-tracking branch 'trigger/AC-244' into AC-229
2 parents 87d09be + 73952fb commit 4d0acf2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ define([
196196
selector: '#' + this.getId(),
197197
theme: 'silver',
198198
skin: 'oxide',
199+
'toolbar_mode': 'wrap',
199200
'entity_encoding': 'raw',
200201
'convert_urls': false,
201202
'content_css': this.config.tinymce['content_css'],
@@ -272,6 +273,10 @@ define([
272273
settings.skin = this.config.skin;
273274
}
274275

276+
if (this.config['toolbar_mode']) {
277+
settings['toolbar_mode'] = this.config['toolbar_mode'];
278+
}
279+
275280
if (this.config.baseStaticUrl && this.config.baseStaticDefaultUrl) {
276281
settings['document_base_url'] = this.config.baseStaticUrl;
277282
}

0 commit comments

Comments
 (0)