Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.4.1
[ckeditor.git]
/
_source
/
plugins
/
menu
/
plugin.js
diff --git
a/_source/plugins/menu/plugin.js
b/_source/plugins/menu/plugin.js
index
ac45279
..
74fbb4f
100644
(file)
--- a/
_source/plugins/menu/plugin.js
+++ b/
_source/plugins/menu/plugin.js
@@
-221,8
+221,11
@@
CKEDITOR.plugins.add( 'menu',
// Put the items in the right order.
\r
sortItems( items );
\r
\r
// 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
// 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
\r
var length = items.length,
\r
lastGroup = length && items[ 0 ].group;
\r