Przeglądaj źródła

Docs: Minor rewording in the docs.

Co-Authored-By: Piotrek Koszuliński <pkoszulinski@gmail.com>
Marek Lewandowski 6 lat temu
rodzic
commit
104c345975

+ 1 - 1
packages/ckeditor5-widget/src/widgetresize/resizer.js

@@ -81,7 +81,7 @@ export default class Resizer {
 		this.decorate( 'updateSize' );
 		this.decorate( 'updateSize' );
 
 
 		this.on( 'commit', event => {
 		this.on( 'commit', event => {
-			// State might not be initialized.In this case prevent further handling and make sure that resizer is cleaned up (#5195).
+			// State might not be initialized yet. In this case, prevent further handling and make sure that the resizer is cleaned up (#5195).
 			if ( !this.state.proposedWidth ) {
 			if ( !this.state.proposedWidth ) {
 				this._cleanup();
 				this._cleanup();
 				event.stop();
 				event.stop();