Skip to content
Permalink
Browse files

Merge branch 't/9362'

  • Loading branch information...
Reinmar committed Oct 10, 2012
2 parents be2605c + d2353ad commit a49d9f76d5f1d98632e9562e76c4d845bf768e2b
Showing with 4 additions and 0 deletions.
  1. +4 −0 plugins/contextmenu/plugin.js
@@ -127,6 +127,10 @@ CKEDITOR.plugins.add( 'contextmenu', {
open: function( offsetParent, corner, offsetX, offsetY ) {
this.editor.focus();
offsetParent = offsetParent || CKEDITOR.document.getDocumentElement();

// #9362: Force selection check to update commands' states in the new context.
this.editor.selectionChange( 1 );

this.show( offsetParent, corner, offsetX, offsetY );
}
}

0 comments on commit a49d9f7

Please sign in to comment.
You can’t perform that action at this time.