Skip to content

Commit 269eadd

Browse files
committed
Merge branch 't/10330'
2 parents 12de140 + c39ddb7 commit 269eadd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ CKEditor 4 Changelog
99
* [#10249](http://dev.ckeditor.com/ticket/10249): Wrong undo/redo states at start.
1010
* [#10268](http://dev.ckeditor.com/ticket/10268): "Show blocks" does not recover after switching to sour source view.
1111
* [#9995](http://dev.ckeditor.com/ticket/9995): HTML in `textarea` should not be modified by the `htmlDataProcessor`.
12-
* [#10315](http://dev.ckeditor.com/ticket/10315): [Webkit] Undo manager should not record snapshots after filling char has been added/removed.
1312
* [#10320](http://dev.ckeditor.com/ticket/10320): Justify plugin should add elements to the ACF based on current enter mode.
1413
* [#10260](http://dev.ckeditor.com/ticket/10260): Fixed: Advanced Content Filter blocks tabSpaces. Unified `data-cke-*` attributes filtering.
14+
* [#10315](http://dev.ckeditor.com/ticket/10315): [Webkit] Undo manager should not record snapshots after filling char has been added/removed.
1515
* [#10291](http://dev.ckeditor.com/ticket/10291): [Webkit] Space after filling char should be secured.
16+
* [#10330](http://dev.ckeditor.com/ticket/10330): [Webkit] Filling char is not removed on `keydown` in specific cases.
1617

1718
## CKEditor 4.1
1819

core/selection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@
417417

418418
if ( CKEDITOR.env.webkit ) {
419419
// Before keystroke is handled by editor, check to remove the filling char.
420-
doc.on( 'keydown', function( evt ) {
420+
editable.attachListener( doc, 'keydown', function( evt ) {
421421
var key = evt.data.getKey();
422422
// Remove the filling char before some keys get
423423
// executed, so they'll not get blocked by it.
@@ -432,7 +432,7 @@
432432
case 8: // BACKSPACE
433433
case 45: // INS
434434
case 46: // DEl
435-
removeFillingChar( editor.editable() );
435+
removeFillingChar( editable );
436436
}
437437

438438
}, null, null, -1 );

0 commit comments

Comments
 (0)