Aleksander Nowodzinski před 6 roky
rodič
revize
21a3a72681

+ 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