Explorar el Código

Code refactoring in the bindTwoStepCaretToAttribute helper.

Aleksander Nowodzinski hace 7 años
padre
commit
c358bff321

+ 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;