Opened 16 years ago
Last modified 16 years ago
#2396 closed Bug
SpellerPages can lead to Permission Denied errors with IE — at Initial Version
Reported by: | Mark Bryson | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | FCKeditor 2.6.3 |
Component: | UI : Dialogs | Version: | SVN (FCKeditor) - Retired |
Keywords: | Confirmed IE Review+ | Cc: |
Description
One set of steps to reproduce with IE7:
- Have an anchor tag in content.
- Use SpellerPages to correct at least one word.
- Press 'Link' button.
You then get Permission Denied error on line 357. This isn't a problem with FF. I've reproduced with IE7 and several FCKeditor versions from SVN back to version 2.4.3.
One way to work around it is to replace the SetHTML() [or SetData()] function in 'fck_spellerpages.html' with:
oEditor.FCK.Commands.GetCommand('SelectAll').Execute(); oEditor.FCK.InsertHtml(document.getElementById('txtHtml').value);
(but with extra prefixed blank paragraph noted by ticket #2395)
I have NOT been able to reproduce by using SetData() in a much simpler, but very similar scenario (plugin) that replaces content containing an anchor tag. So, there seems to be more to causing this than just simply using setData() with content containing an anchor tag.