Ver código fonte

Updated Autoformat plugin after changes in Heading plugin API.

Aleksander Nowodzinski 8 anos atrás
pai
commit
97bde4b59e
1 arquivos alterados com 1 adições e 1 exclusões
  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 }`
 			} );
 		} );
 	}