You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've only needed a basic summernote definition in TypeScript, because of code I was converting. so I only wrote this (I'm not sure how the modules would translate to TypeScript itself).
The UI and other modules are not yet defined, feel free to add it to the code or discuss further. I believe my TypeScript skills are the same as yours! :-)
I managed to solve it by adding 1 more interface: interface JQueryStatic { summernote:any; }
On this way I am able to get the ui instance:
Example: let ui = $.summernote.ui;
If you tink that it is ok, I will make pull request.
Hi,
I am new to summernote and both typescript. I am having a problem to get the ui object from summernote (http://summernote.org/deep-dive/#custom-button).
Can you please provide me help how to expose the ui to the the summernote types or give me guide/example how to achieve this.
Thanks
The text was updated successfully, but these errors were encountered: