This is a migrated thread and some comments may be shown as answers.

Return scrollbar to top of Editor

0 Answers 24 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 15 Aug 2012, 02:04 PM
I'm pasting some html into an editor using the .paste() method. The html is too long to fit in the editor so a scrollbar is created as I'd expect. However, this scrollbar scrolls to the bottom of the editor and I would like to scroll it back to the top programatically. I have tried .scrollTop(0) but this doesn't work even with the editor set to 'scrollable: true'. Has this feature been implemented or is there a workaround for it at all?

No answers yet. Maybe you can help?

Tags
Editor
Asked by
Paul
Top achievements
Rank 1
Share this question
or