We are using fckeditor 2.5 and have enabled image upload. Whenever we upload image in IE it gets added at the beginning of the text in the editor and not at the current cursor position. It works fine in FF.
Following is the use-case is problem in IE.
- User has no text in the editor.
- User clicks on image upload, selects an image, sends it to server and clicks on OK box to close the image
preview box. The image box disappears and the first image gets added.
- When he again clicks on image upload button and selects the second image, uploads to the server and clicks on OK to close the image dialog box. The second image gets added to the editor but it gets added at the top. So the first image goes at position 2 and second image is at position 1. Every subsequent image added gets added at the top and the rest keep moving below.
I tried adding a <br> tag after adding each image to move the cursor to next line where next image should get added, but it does not work. Also used <div> tag to make it block, but nothing works.
Has anyone faced this issue before? We got to fix this problem asap. Any help will be very much appreciated.
Thanks,
Ram.
Following is the use-case is problem in IE.
- User has no text in the editor.
- User clicks on image upload, selects an image, sends it to server and clicks on OK box to close the image
preview box. The image box disappears and the first image gets added.
- When he again clicks on image upload button and selects the second image, uploads to the server and clicks on OK to close the image dialog box. The second image gets added to the editor but it gets added at the top. So the first image goes at position 2 and second image is at position 1. Every subsequent image added gets added at the top and the rest keep moving below.
I tried adding a <br> tag after adding each image to move the cursor to next line where next image should get added, but it does not work. Also used <div> tag to make it block, but nothing works.
Has anyone faced this issue before? We got to fix this problem asap. Any help will be very much appreciated.
Thanks,
Ram.