浏览代码

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 年之前
父节点
当前提交
3887ac013f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 }`
 			} );
 		} );
 	}