Skip to content

Commit 191ce71

Browse files
committed
MAGETWO-54816: Styles drop down in WYSIWYG editor does not work
1 parent d0e44f9 commit 191ce71

File tree

1 file changed

+4
-0
lines changed
  • lib/web/mage/adminhtml/wysiwyg/tiny_mce

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ define([
136136
}
137137
};
138138

139+
if (!settings.style_formats) {
140+
settings.theme_advanced_buttons1 = settings.theme_advanced_buttons1.replace(',styleselect', '');
141+
}
142+
139143
// Set the document base URL
140144
if (this.config.document_base_url) {
141145
settings.document_base_url = this.config.document_base_url;

0 commit comments

Comments
 (0)