[英]CKEDITOR : Set scroll event to CKEditor Document
我正在嘗試將scroll event
設置為 CKEditor。
我嘗試以下事情來完成這項工作。
方法一:
var html = $(editor.editable().$);
$(html).on('scroll',function(){
console.log('Scroll');
});
方法二:
editor.on('scroll',function(){
console.log('Scroll');
});
但是這兩種方法都不是很好。
任何建議。請幫助我。
終於,我找到了答案。
editor.document.on('scroll',function(){
console.log('scroll Works');
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.