editor.on( 'updateSnapshot', function()\r
{\r
if ( undoManager.currentImage && new Image( editor ).equals( undoManager.currentImage ) )\r
- setTimeout( function () { undoManager.update(); }, 0 );\r
+ setTimeout( function() { undoManager.update(); }, 0 );\r
});\r
}\r
});\r
*/\r
this.index = -1;\r
\r
- this.limit = this.editor.config.undoStackSize;\r
+ this.limit = this.editor.config.undoStackSize || 20;\r
\r
this.currentImage = null;\r
\r
* @example\r
* config.undoStackSize = 50;\r
*/\r
-CKEDITOR.config.undoStackSize = 20;\r
\r
/**\r
* Fired when the editor is about to save an undo snapshot. This event can be\r