Hi, i have a little problem, when i try insert image by drag and drop, the picture is inserted no matter where I inserted it, but i need that inserted into new position where was mouse cursor, how i can do it?
code of insert:
code of insert:
var element=myEditor.document.createElement("img"); element.setAttribute("src","images/'+FileName+'"); myEditor.insertElement(element);
Re: Insert image at position
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!
Re: Insert image at position
Re: Insert image at position
also..
when i drag image, caret moves to mouse cursor, but i think his real position still same before begin drag
sorry for my english