Blog

Summernote 0.7.1 Callback (onImageUpload)

Posted by david on 07 January 2016 at 5:30 pm
So, I've been working on a custom upload Callback for Summernote, pretty much the last 3 hours. I could not get it to work. I searched for every keyword I could think of and everything showed variations of what I was doing. Finally, I found this little blurb on the docs that say since 0.7.0, callbacks require to be wrapped in callback : {}. Hours of frustration, looking at the same few lines and rewriting the same thing, over and over... Nothing I found on Google, even stuff posted in December, showed that for callbacks. I want to hug whomever wrote that blurb... In summary, callbacks in Summernote 0.7.1 have to be wrapped in callback.

Comments

Log in to comment

No comments yet!