Problems trying to install summernote third party


#1

I’m trying to use this third party library doing this:

npm i summernote --save

then in my ts file:

import { summernote } from ‘summernote’;

ionViewDidLoad() {
console.dir(summernote);
$(()=>{
jQuery(’#summernote’).summernote();
});
}

and then in my html:

<textarea id="summernote" (contentChanged)="htmlChanged($event)">Hello Summernote</textarea>

I’ve set globally jQuery, then why this doesn’t works? Any suggestions?

Thanks in advance