diff --git a/src/ckeditor/ckeditor.component.ts b/src/ckeditor/ckeditor.component.ts index f61e0f8..6621452 100644 --- a/src/ckeditor/ckeditor.component.ts +++ b/src/ckeditor/ckeditor.component.ts @@ -390,6 +390,9 @@ export class CKEditorComponent implements After // ``. if ( hasObservers( this.error ) ) { this.ngZone.run( () => this.error.emit( e ) ); + } else { + // Print error to the console when there are no subscribers to the `error` event. + console.error( e ); } }; const element = document.createElement( this.tagName );