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
/
undo
/
plugin.js
diff --git
a/_source/plugins/undo/plugin.js
b/_source/plugins/undo/plugin.js
index
fb003c3
..
89819f0
100644
(file)
--- a/
_source/plugins/undo/plugin.js
+++ b/
_source/plugins/undo/plugin.js
@@
-90,7
+90,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
// Make the undo manager available only in wysiwyg mode.
\r
editor.on( 'mode', function()
\r
{
\r
// Make the undo manager available only in wysiwyg mode.
\r
editor.on( 'mode', function()
\r
{
\r
- undoManager.enabled = editor.mode == 'wysiwyg';
\r
+ undoManager.enabled = editor.readOnly ? false : editor.mode == 'wysiwyg';
\r
undoManager.onChange();
\r
});
\r
\r
undoManager.onChange();
\r
});
\r
\r