Reputation: 322
I'm working on a project that uses redactor as an editor. So every time I set focus using jQuery it's cursor goes on start. I see an option focusEnd on it's documentations but it does not work maybe because I'm using rtl direction.
Any idea?
Upvotes: 1
Views: 1080
Reputation: 2074
You can use below code to set cursor at the end:
this.focus.setEnd();
Upvotes: 2