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
/
basicstyles
/
plugin.js
diff --git
a/_source/plugins/basicstyles/plugin.js
b/_source/plugins/basicstyles/plugin.js
index
5fbcd9a
..
aa00e9a
100644
(file)
--- a/
_source/plugins/basicstyles/plugin.js
+++ b/
_source/plugins/basicstyles/plugin.js
@@
-17,7
+17,7
@@
CKEDITOR.plugins.add( 'basicstyles',
\r
editor.attachStyleStateChange( style, function( state )
\r
{
\r
\r
editor.attachStyleStateChange( style, function( state )
\r
{
\r
- editor.getCommand( commandName ).setState( state );
\r
+ !editor.readOnly && editor.getCommand( commandName ).setState( state );
\r
});
\r
\r
editor.addCommand( commandName, new CKEDITOR.styleCommand( style ) );
\r
});
\r
\r
editor.addCommand( commandName, new CKEDITOR.styleCommand( style ) );
\r