Ticket #5711: 5711.patch
File 5711.patch, 933 bytes (added by , 14 years ago) |
---|
-
_source/plugins/scayt/plugin.js
250 250 } 251 251 252 252 // Override Image.equals method avoid CK snapshot module to add SCAYT markup to snapshots. (#5546) 253 var undoImagePrototype = CKEDITOR.plugins.undo.Image.prototype; 254 undoImagePrototype.equals = CKEDITOR.tools.override( undoImagePrototype.equals, function( org ) 253 CKEDITOR.plugins.undo.Image.prototype.equals = CKEDITOR.tools.override( CKEDITOR.plugins.undo.Image.prototype.equals, function( org ) 255 254 { 256 255 return function( otherImage ) 257 256 { … … 263 262 { 264 263 this.contents = scayt_instance.reset( thisContents ); 265 264 otherImage.contents = scayt_instance.reset( otherContents ); 265 266 266 } 267 267 268 268 var retval = org.apply( this, arguments );