Reputation: 776
I've a bunch of tinymce editors on a page and they have really large blocks of text. Once the user finishes working on one editor, is there a way to automatically scroll to the top of the (current) editor while the user tabs out and goes to the next editor?
Upvotes: 2
Views: 1480
Reputation: 50832
This can be achieved:
tinymce.activeEditor.getBody().firstChild.scrollIntoView();
Upvotes: 4