Browse Source

Docs: Fixed a typo. [skip ci]

Piotrek Koszuliński 5 years ago
parent
commit
565569abc1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-typing/src/input.js

+ 1 - 1
packages/ckeditor5-typing/src/input.js

@@ -47,7 +47,7 @@ export default class Input extends Plugin {
 	 *		const input = editor.plugins.get( 'Input' );
 	 *
 	 *		editor.model.document.on( 'change:data', ( evt, batch ) => {
-	 *			if ( input.isTyping( batch ) ) {
+	 *			if ( input.isInput( batch ) ) {
 	 *				console.log( 'The user typed something...' );
 	 *			}
 	 *		} );