diff --git a/CHANGES.md b/CHANGES.md index 7c40b2b0874..02d3b4bd39c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -11,6 +11,7 @@ CKEditor 4 Changelog * [#11097](http://dev.ckeditor.com/ticket/11097): Improved the [Autogrow](http://ckeditor.com/addon/autogrow) plugin performance when dealing with very big tables. * [#11290](http://dev.ckeditor.com/ticket/11290): Removed redundant code in `sourcedialog` plugin. * [#11133](http://dev.ckeditor.com/ticket/11133): [Pagebreak](http://ckeditor.com/addon/pagebreak) becomes editable if pasted. +* [#11126](http://dev.ckeditor.com/ticket/11126): Fixed: Native undo executed once reached the bottom of snapshot stack. ## CKEditor 4.3.1 diff --git a/core/config.js b/core/config.js index 3732153897b..1dbf57d166a 100644 --- a/core/config.js +++ b/core/config.js @@ -323,12 +323,26 @@ CKEDITOR.config = { * The keystrokes that are blocked by default as the browser implementation * is buggy. These default keystrokes are handled by the editor. * - * @cfg {Array} [=[ CKEDITOR.CTRL + 66, CKEDITOR.CTRL + 73, CKEDITOR.CTRL + 85 ] // CTRL+B,I,U] + * // Default setting. + * config.blockedKeystrokes = [ + * CKEDITOR.CTRL + 66, // CTRL+B + * CKEDITOR.CTRL + 73, // CTRL+I + * CKEDITOR.CTRL + 85, // CTRL+U + * CKEDITOR.CTRL + 89, // CTRL+Y + * CKEDITOR.CTRL + 90, // CTRL+Z + * CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 // CTRL+SHIFT+Z + * ]; + * + * @cfg {Array} [blockedKeystrokes=see example] */ blockedKeystrokes: [ CKEDITOR.CTRL + 66, // CTRL+B CKEDITOR.CTRL + 73, // CTRL+I - CKEDITOR.CTRL + 85 // CTRL+U + CKEDITOR.CTRL + 85, // CTRL+U + + CKEDITOR.CTRL + 89, // CTRL+Y + CKEDITOR.CTRL + 90, // CTRL+Z + CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 // CTRL+SHIFT+Z ] };