Răsfoiți Sursa

Docs: Fixed typo. [skip ci]

Anna Tomanek 8 ani în urmă
părinte
comite
79578e6068
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      docs/framework/guides/architecture/intro.md

+ 1 - 1
docs/framework/guides/architecture/intro.md

@@ -138,7 +138,7 @@ These events make it possible to control the command from the outside. For insta
 const command = editor.commands.get( 'someCommand' );
 const command = editor.commands.get( 'someCommand' );
 
 
 command.on( 'change:isEnabled', forceDisable, { priority: 'lowest' } );
 command.on( 'change:isEnabled', forceDisable, { priority: 'lowest' } );
-command.isEanabled = false;
+command.isEnabled = false;
 
 
 function forceDisabled() {
 function forceDisabled() {
 	this.isEnabled = false;
 	this.isEnabled = false;