Ticket #4047: 4047.patch
File 4047.patch, 1.9 KB (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
429 429 if ( keystrokeHandler ) 430 430 keystrokeHandler.attach( domDocument ); 431 431 432 // Cancel default action for backspace in IE for images. (#4047) 433 if ( CKEDITOR.env.ie ) 434 { 435 editor.on( 'key', function( event ) 436 { 437 // Backspace. 438 if ( event.data.keyCode == 8 ) 439 { 440 var el = editor.getSelection().getSelectedElement(); 441 if ( el && el.is( 'img' ) ) 442 { 443 // Make undo snapshot. 444 editor.fire( 'saveSnapshot' ); 445 // Remove manually. 446 el.remove(); 447 editor.fire( 'saveSnapshot' ); 448 // Cancel event. 449 event.data = true; 450 } 451 } 452 } ); 453 } 454 432 455 // Adds the document body as a context menu target. 433 456 if ( editor.contextMenu ) 434 457 editor.contextMenu.addTarget( domDocument ); -
CHANGES.html
67 67 <li><a href="http://dev.fckeditor.net/ticket/4368">#4368</a> : borderColor table cell attribute haven't worked for none-IE</li> 68 68 <li><a href="http://dev.fckeditor.net/ticket/4203">#4203</a> : In IE quirksmode + toolbar collapsed + source mode editing block height was incorrect.</li> 69 69 <li><a href="http://dev.fckeditor.net/ticket/4387">#4387</a> : Right clicking in Kama skin can lead to a javascript error.</li> 70 <li><a href="http://dev.fckeditor.net/ticket/4047">#4047</a> : In IE Backspace button on control type triggered history backward.</li> 70 71 </ul> 71 72 <h3> 72 73 CKEditor 3.0</h3>