Ticket #3251: 3251.patch

File 3251.patch, 546 bytes (added by Artur Formella, 10 years ago)
  • _source/plugins/enterkey/plugin.js

     
    4141                // Use setTimout so the keys get cancelled immediatelly.
    4242                setTimeout( function()
    4343                        {
     44                                editor.fire( 'saveSnapshot' );  // Save undo step.
    4445                                if ( mode == CKEDITOR.ENTER_BR || editor.getSelection().getStartElement().hasAscendant( 'pre', true ) )
    4546                                        enterBr( editor, mode );
    4647                                else
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy