Hi,
I've updated my old fckeditor version (2.0 RC3) to 2.6.3 and now my plugin doesn't work anymore. I can't get the selected text in the textarea. Here is the code which worked fine with the old version:
In IE "auswahl" is empty but not null so the object should have all been found.
Has anyone an idea why this problem occurs now?
Thanks, wisi
I've updated my old fckeditor version (2.0 RC3) to 2.6.3 and now my plugin doesn't work anymore. I can't get the selected text in the textarea. Here is the code which worked fine with the old version:
var FCK = window.parent.InnerDialogLoaded().FCK; try { var auswahl = null; if(document.all) { // Internet Explorer auswahl = FCK.EditorDocument.selection.createRange().htmlText; } else { // Gecko engine (FF, usw.) auswahl = FCK.EditorWindow.getSelection() ; } } catch (e) {}
In IE "auswahl" is empty but not null so the object should have all been found.
Has anyone an idea why this problem occurs now?
Thanks, wisi
Re: selection problem after update from v2.0RC3 to 2.6.3
Re: selection problem after update from v2.0RC3 to 2.6.3
Re: selection problem after update from v2.0RC3 to 2.6.3
Re: selection problem after update from v2.0RC3 to 2.6.3
i have the same problem that my selection is ignored by an acronym-plugin in internet explorer. with an earlier version (2.2) it worked fine, but now it sets the cursor to the first position in the editor, as soon as the acronym-plugin-window pops up.
your posted solution doesn't help. does anybody has other suggestions on how to get it work?
thanx alot!