// Put the items in the right order.\r
sortItems( items );\r
\r
+ var chromeRoot = editor.container.getChild( 1 );\r
+ var mixedContentClass = chromeRoot.hasClass( 'cke_mixed_dir_content' ) ? ' cke_mixed_dir_content' : '';\r
+\r
// Build the HTML that composes the menu and its items.\r
- var output = [ '<div class="cke_menu" role="presentation">' ];\r
+ var output = [ '<div class="cke_menu' + mixedContentClass + '" role="presentation">' ];\r
\r
var length = items.length,\r
lastGroup = length && items[ 0 ].group;\r