Răsfoiți Sursa

Fix outdent block command.

Maciej Gołaszewski 6 ani în urmă
părinte
comite
606d45d38f
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      packages/ckeditor5-indent/src/indentblock.js

+ 1 - 1
packages/ckeditor5-indent/src/indentblock.js

@@ -79,7 +79,7 @@ export default class IndentBlock extends Plugin {
 		if ( useOffsetConfig ) {
 		if ( useOffsetConfig ) {
 			this._setupConversionUsingOffset( conversion );
 			this._setupConversionUsingOffset( conversion );
 			editor.commands.add( 'indentBlock', new IndentBlockCommand( editor, new IndentUsingOffset( indentConfig ) ) );
 			editor.commands.add( 'indentBlock', new IndentBlockCommand( editor, new IndentUsingOffset( indentConfig ) ) );
-			editor.commands.add( 'outdentBlock', new IndentBlockCommand( editor, new IndentUsingOffset( indentConfig ) ) );
+			editor.commands.add( 'outdentBlock', new IndentBlockCommand( editor, new IndentUsingOffset( outdentConfig ) ) );
 		} else {
 		} else {
 			this._setupConversionUsingClasses( configuration.classes );
 			this._setupConversionUsingClasses( configuration.classes );
 			editor.commands.add( 'indentBlock', new IndentBlockCommand( editor, new IndentUsingClasses( indentConfig ) ) );
 			editor.commands.add( 'indentBlock', new IndentBlockCommand( editor, new IndentUsingClasses( indentConfig ) ) );