Explorar o código

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 %!s(int64=8) %!d(string=hai) anos
pai
achega
3887ac013f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 }`
 			} );
 		} );
 	}