ng2-ckeditor icon indicating copy to clipboard operation
ng2-ckeditor copied to clipboard

change output is not EventEmitter of type CKEDITOR.eventInfo but string

Open Timebutt opened this issue 3 years ago • 0 comments

Hi!

I'm working on an Angular project with strictTemplates enabled, and am running into a problem with ng2-ckeditor, where the output of the (change) output binding is typed as CKEDITOR.eventInfo but the output in reality is a string.

When checking source code, I see that change.emit() is being called with the result of instance.getData() which - according to the docs - is a string, not a CKEDITOR.eventInfo.

Can anybody confirm this? I'll be happy to submit a PR.

Timebutt avatar Jan 25 '22 13:01 Timebutt