Skip to content

Commit

Permalink
Docs: clarified inline code docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewand committed Sep 1, 2018
1 parent 1ddca0f commit 916dccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/contextmenu/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ CKEDITOR.plugins.add( 'contextmenu', {
* @param {Number} [offsetY]
*/
open: function( offsetParent, corner, offsetX, offsetY ) {
// Do not open context menu if there is no selection in the editor (#1181).
// Do not open context menu if it's disabled or there is no selection in the editor (#1181).
if ( this.editor.config.enableContextMenu === false ||
this.editor.getSelection().getType() === CKEDITOR.SELECTION_NONE ) {
return;
Expand Down

0 comments on commit 916dccd

Please sign in to comment.