Explorar el Código

Update text-alignment.md

The command to align, is called alignment, and not align.
mtilsted hace 7 años
padre
commit
96fb012614
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-alignment/docs/features/text-alignment.md

+ 1 - 1
packages/ckeditor5-alignment/docs/features/text-alignment.md

@@ -90,7 +90,7 @@ The {@link module:alignment/alignment~Alignment} plugin registers:
 	You can align the currently selected block(s) by executing one of these commands:
 
 	```js
-	editor.execute( 'align', { value: 'center' } );
+	editor.execute( 'alignment', { value: 'center' } );
 	```
 
 ## Contribute