X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fmenu%2Fplugin.js;h=74fbb4f3e59c51fe70df32aedda405e2b4ff02b2;hb=c9fdde67e6384bd5a66adc2b3bba5c4ce9db56c7;hp=ac45279db93cf509c7d915594bf4806bfce352ea;hpb=059b4c2fef02528bf1af189f7996e80652faddfb;p=ckeditor.git diff --git a/_source/plugins/menu/plugin.js b/_source/plugins/menu/plugin.js index ac45279..74fbb4f 100644 --- 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. sortItems( items ); + var chromeRoot = editor.container.getChild( 1 ); + var mixedContentClass = chromeRoot.hasClass( 'cke_mixed_dir_content' ) ? ' cke_mixed_dir_content' : ''; + // Build the HTML that composes the menu and its items. - var output = [ '