Page 1 of 1

Scroll to position in editor

Posted: Mon Oct 15, 2018 10:27 pm
by dusiromulo
Hello there.

I have a marker functionality in my site, which users can mark a specific spot on text.
It's possible to autoscroll to marker position later, selecting a spot on my site.

For initial solution, I get the document height, and resizes the iframe.
But there is a problem when the document opened is too big (like 20 pages), and the editor crashes.

Is there a way to call some function to scroll the document? Can I get the actual scroll position?

Implementing a plugin will solve my problem?