I am using ng2-ckeditor
in my Angular2
project. It is working fine but when I go on another component, It shows warning message [CKEDITOR] Er
Try adding the typescript definition file for CKEditor in package.json under devDependencies ("@types/ckeditor": "^0.0.34"):
"devDependencies": {
"@angular/compiler-cli": "~2.4.0",
"@angular/platform-server": "~2.4.0",
"@types/ckeditor": "^0.0.34"
}
Then run npm update to download the types. An alternate solution is to declare CKEditor in your file:
declare const CKEDITOR: any;