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
/
maximize
/
plugin.js
diff --git
a/_source/plugins/maximize/plugin.js
b/_source/plugins/maximize/plugin.js
index
abefd1d
..
4c04d14
100644
(file)
--- a/
_source/plugins/maximize/plugin.js
+++ b/
_source/plugins/maximize/plugin.js
@@
-85,7
+85,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
for ( var i in all )
\r
{
\r
var one = all[ i ];
\r
for ( var i in all )
\r
{
\r
var one = all[ i ];
\r
- if ( one.mode == 'wysiwyg' )
\r
+ if ( one.mode == 'wysiwyg' && !one.readOnly )
\r
{
\r
var body = one.document.getBody();
\r
// Refresh 'contentEditable' otherwise
\r
{
\r
var body = one.document.getBody();
\r
// Refresh 'contentEditable' otherwise
\r
@@
-155,6
+155,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
editor.addCommand( 'maximize',
\r
{
\r
modes : { wysiwyg : 1, source : 1 },
\r
editor.addCommand( 'maximize',
\r
{
\r
modes : { wysiwyg : 1, source : 1 },
\r
+ readOnly : 1,
\r
editorFocus : false,
\r
exec : function()
\r
{
\r
editorFocus : false,
\r
exec : function()
\r
{
\r