I have an application that creates several hundreds of inline CKEditor instances on the same page and it is too slow to create them all at once. I want to create an editor when the user clicks a contenteditable element, like this:
$("#editor").click(function()
{
CKEDITOR.inline("editor");
});
Example fiddle: https://jsfiddle.net/adrianrosca/m3dtvcku/4/
But when I click in the middle of the text, the cursor will jump to the beginning of the content and that's not a good behaviour.
Is there a way to get the cursor to stay put or is there another way to create/destroy lots and lots of inline editors.