Skip to content

Commit 4ffb824

Browse files
committed
Adjust some comments in the ckeditor component.
1 parent 157ebfd commit 4ffb824

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/ckeditor/ckeditor.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ export class CKEditorComponent<TEditor extends Editor = Editor> implements After
117117
@Input() public editorWatchdogConfig?: WatchdogConfig;
118118

119119
/**
120-
* When set `true`, the editor watchdog is disabled and a fake watchdog is used.
120+
* When set to `true`, the editor watchdog is disabled, and a fake watchdog is used.
121121
*/
122122
@Input() public disableWatchdog = false;
123123

124124
/**
125125
* Allows disabling the two-way data binding mechanism. Disabling it can boost performance for large documents.
126126
*
127-
* When a component is connected using the [(ngModel)] or [formControl] directives and this value is set to true then none of the data
127+
* When a component is connected using the [(ngModel)] or [formControl] directives, and this value is set to true, then none of the data
128128
* will ever be synchronized.
129129
*
130130
* An integrator must call `editor.data.get()` manually once the application needs the editor's data.
@@ -375,7 +375,7 @@ export class CKEditorComponent<TEditor extends Editor = Editor> implements After
375375
}
376376

377377
/**
378-
* Creates the editor instance, sets initial editor data, then integrates
378+
* Creates the editor instance, sets the initial editor data, then integrates
379379
* the editor with the Angular component. This method does not use the `editor.data.set()`
380380
* because of the issue in the collaboration mode (#6).
381381
*/
@@ -463,7 +463,7 @@ export class CKEditorComponent<TEditor extends Editor = Editor> implements After
463463
this.editorWatchdog = editorWatchdog;
464464
this.ngZone.runOutsideAngular( () => {
465465
// Note: must be called outside of the Angular zone too because `create` is calling
466-
// `_startErrorHandling` within a microtask which sets up `error` listener on the window.
466+
// `_startErrorHandling` within a microtask, which sets up `error` listener on the window.
467467
editorWatchdog.create( element, config ).catch( e => {
468468
emitError( e );
469469
} );

0 commit comments

Comments
 (0)