Răsfoiți Sursa

Code refactoring.

Aleksander Nowodzinski 5 ani în urmă
părinte
comite
56c857f0b2

+ 1 - 1
packages/ckeditor5-widget/src/widgettypearound/widgettypearound.js

@@ -574,7 +574,7 @@ export default class WidgetTypeAround extends Plugin {
 
 
 			// This listener handles only these cases when the "fake caret" is active.
 			// This listener handles only these cases when the "fake caret" is active.
 			if ( !typeAroundSelectionAttributeValue ) {
 			if ( !typeAroundSelectionAttributeValue ) {
-				return false;
+				return;
 			}
 			}
 
 
 			const direction = domEventData.direction;
 			const direction = domEventData.direction;