Преглед изворни кода

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;