Browse Source

Removed ranges from format callback in autoformat.

Maksymilian Barnaś 9 years ago
parent
commit
26c841c6b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-autoformat/src/autoformat.js

+ 1 - 1
packages/ckeditor5-autoformat/src/autoformat.js

@@ -154,7 +154,7 @@ export default class Autoformat extends Feature {
 				};
 			},
 			( editor, range, batch ) => {
-				this.editor.execute( 'italic', { ranges: [ range ], batch } );
+				this.editor.execute( 'italic', { batch } );
 			}
 		);