Parcourir la source

Merge branch 't/ckeditor5/436' into i/5668

Aleksander Nowodzinski il y a 6 ans
Parent
commit
bf336b13f6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/ckeditor5-code-block/src/outdentcodeblockcommand.js

+ 1 - 1
packages/ckeditor5-code-block/src/outdentcodeblockcommand.js

@@ -98,7 +98,7 @@ export default class OutdentCodeBlockCommand extends Command {
 		const model = this.editor.model;
 
 		if ( !isModelSelectionInCodeBlock( model.document.selection ) ) {
-			return;
+			return false;
 		}
 
 		// Outdent command can execute only when there is an indent character sequence