Hi,
altough I upgraged to version 2.6 I'm still running into the problem reported under ticket #1990 (which is closed).
So, when under IE7, the "FCK.InsertHtml()" function always inserts the data at the beginning
of the document instead of at 'cursor position'. It works fine under FF, though.
I'm using frames in my application, which could be a reason, but can also reproduce the issue
with the nice 'insertbug' plugin provided by MarkWB.
Any hints or workaround?
manutime27
altough I upgraged to version 2.6 I'm still running into the problem reported under ticket #1990 (which is closed).
So, when under IE7, the "FCK.InsertHtml()" function always inserts the data at the beginning
of the document instead of at 'cursor position'. It works fine under FF, though.
I'm using frames in my application, which could be a reason, but can also reproduce the issue
with the nice 'insertbug' plugin provided by MarkWB.
Any hints or workaround?
manutime27
Re: InsertHtml() ignores position in IE7 (bug #1990)
The problem is also happening in IE6.
I did a search on the bug database. I found this http://dev.fckeditor.net/ticket/2125 : it shows a solution that seems to work.
Claude
Re: InsertHtml() ignores position in IE7 (bug #1990)
thanks for the reply and hint. I tried the patch suggested in ticket #2125 but unfortunately saw no difference.
Still the same happening in IE. Firefox handles it OK with and without the changes.
My scenario is that I'm calling InsertHTML from a simple plugin 'placed' in an external toolbar.
The plugin calls a Google GWT widget, which creates an HTML String to be insterted in the editor instance.
Focus gets lost in both, FF and IE, when entering the widget but FF seems to be able to 'recall' position, while IE is not.
Do you know if there is a way to read/save the last cursor position? I can't see it in the API.