Has anyone found a solution to this.
I'm trying to set the cursor to the end of the content, but if the content is scrolling, the scroll bar will stay at the top and not scroll.
I'm using the scripts suggested in another post, as follows:
| editor.setFocus(); |
| var doc = editor.get_document(); |
| doc.execCommand("SelectAll", null, false); |
| editor.getSelection().collapse(); |
But I can't seem to find a solution for the scrolling. (I saw a post saying to scroll to the top to put true in the collapse, but that didn't do anything for me). I am running this in Chrome.