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.5.1
[ckeditor.git]
/
_source
/
plugins
/
scayt
/
plugin.js
diff --git
a/_source/plugins/scayt/plugin.js
b/_source/plugins/scayt/plugin.js
index
0f3f339
..
5a03d5b
100644
(file)
--- a/
_source/plugins/scayt/plugin.js
+++ b/
_source/plugins/scayt/plugin.js
@@
-1,5
+1,5
@@
/*
\r
/*
\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
@@
-626,7
+626,7
@@
CKEDITOR.plugins.scayt =
editor.contextMenu.addListener( function( element, selection )
\r
{
\r
if ( !plugin.isScaytEnabled( editor )
\r
editor.contextMenu.addListener( function( element, selection )
\r
{
\r
if ( !plugin.isScaytEnabled( editor )
\r
- || selection.getCommonAncestor().isReadOnly() )
\r
+ || selection.getRanges()[ 0 ].checkReadOnly() )
\r
return null;
\r
\r
var scayt_control = plugin.getScayt( editor ),
\r
return null;
\r
\r
var scayt_control = plugin.getScayt( editor ),
\r