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.6
[ckeditor.git]
/
_source
/
plugins
/
justify
/
plugin.js
diff --git
a/_source/plugins/justify/plugin.js
b/_source/plugins/justify/plugin.js
index
0a5f07d
..
82c1fcc
100644
(file)
--- a/
_source/plugins/justify/plugin.js
+++ b/
_source/plugins/justify/plugin.js
@@
-49,6
+49,9
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
function onSelectionChange( evt )
\r
{
\r
+ if ( evt.editor.readOnly )
\r
+ return;
\r
+
\r
var command = evt.editor.getCommand( this.name );
\r
command.state = getState.call( this, evt.editor, evt.data.path );
\r
command.fire( 'state' );
\r