Ckeditor - Cursor position always gets to the start after setData
08:44 17 Sep 2014

I'm using angular, and set the data of ckeditor with ngModel - when we render we set the data

editor.setData(ngModel.$viewValue);

We try to keep the cursor selection with ranges and bookmarks

but it always get to the start even if there are no DOM changes

I've tried many solutions such as

CKEditor: set cursor/caret positon

Set cursor to specific position in CKEditor

Couldn't make it work... :(

Can anyone help please...

angularjs ckeditor