I'm trying to set scroll event
to CKEditor.
I try the below things to get this done.
Methode 1:
var html = $(editor.editable().$);
$(html).on('scroll',function(){
console.log('Scroll');
});
Methode 2:
editor.on('scroll',function(){
console.log('Scroll');
});
But both the methods are not working very well.
Any Suggestions.Please Help me.
Finally, I found the Answer.
editor.document.on('scroll',function(){
console.log('scroll Works');
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.