8
0
فهرست منبع

Code refactoring in the bindTwoStepCaretToAttribute helper.

Aleksander Nowodzinski 7 سال پیش
والد
کامیت
c358bff321
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      packages/ckeditor5-engine/src/utils/bindtwostepcarettoattribute.js

+ 0 - 2
packages/ckeditor5-engine/src/utils/bindtwostepcarettoattribute.js

@@ -380,8 +380,6 @@ class TwoStepCaretHandler {
 			if ( position.isAtStart && isAtBoundary( position, attribute ) ) {
 				if ( this._hasSelectionAttribute ) {
 					this._removeSelectionAttribute();
-
-					return;
 				}
 
 				return;