Reputation: 1408
I have a tinyMCE instance and I would like to know when the user scrolls inside the editor.
I know how to access the active editor and its iframe but so far have been unsuccessful in finding what fires the scroll event.
Seems simply enough...
Upvotes: 3
Views: 1256
Reputation: 50832
You can achieve this using
$(editor.getWin()).scroll(function(){
console.log('fire scroll')
});
Upvotes: 2