Browse Source

Merge pull request #21 from ckeditor/t/20

Other: Aligned the use of the `heading` command to changes in the ckeditor5-heading package. Closes #20.
Piotrek Koszuliński 8 years ago
parent
commit
3887ac013f
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

@@ -93,7 +93,7 @@ export default class Autoformat extends Plugin {
 
 			this.editor.execute( 'heading', {
 				batch,
-				formatId: `heading${ headingLevel }`
+				id: `heading${ headingLevel }`
 			} );
 		} );
 	}