Hi,
Using FCKEditor to insert an image, I am losing the caret position in the editor. I am using a dialog box to insert the image similar to the one provided by FCKEditor by default. The only difference, is that my dialog box contains a search form that search images stored in a DB using some search criteria. Once I hit the submit button of the search form, the Caret is placed in the biginning of the Editor. When I hit "Ok", my image is inserted in the biginning of the content even though initially I placed the caret in the middle of the content.
Can anyone help?
Thanks
Using FCKEditor to insert an image, I am losing the caret position in the editor. I am using a dialog box to insert the image similar to the one provided by FCKEditor by default. The only difference, is that my dialog box contains a search form that search images stored in a DB using some search criteria. Once I hit the submit button of the search form, the Caret is placed in the biginning of the Editor. When I hit "Ok", my image is inserted in the biginning of the content even though initially I placed the caret in the middle of the content.
Can anyone help?
Thanks