소스 검색

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 }`
 			} );
 		} );
 	}