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.1
[ckeditor.git]
/
_source
/
plugins
/
undo
/
plugin.js
diff --git
a/_source/plugins/undo/plugin.js
b/_source/plugins/undo/plugin.js
index
94744ea
..
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
@@
-545,6
+545,7
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
/**
\r
* The number of undo steps to be saved. The higher this setting value the more
\r
* memory is used for it.
\r
/**
\r
* The number of undo steps to be saved. The higher this setting value the more
\r
* memory is used for it.
\r
+ * @name CKEDITOR.config.undoStackSize
\r
* @type Number
\r
* @default 20
\r
* @example
\r
* @type Number
\r
* @default 20
\r
* @example
\r