Opened 18 years ago
Closed 18 years ago
#467 closed Bug (fixed)
sometimes the InsertHtml() doesn't work in IE(6.0/7.0)
Reported by: | zhoukook | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.4.2 |
Keywords: | Cc: |
Description ¶
I create a button "insertJS",just use the InsertHtml() as:
var Ubbcode = '<script type="text/javascript" src="plugin/audioplayer/audioplayer.js"></' + 'script>'; Ubbcode = Ubbcode + '<script type="text/javascript" src="plugin/audioplayer/flashobject.js"></' + 'script>'; FCK.InsertHtml(Ubbcode);
It can get the code in firefox or opera ,but does not work in IE(6.0/7.0).

Change History (1)
comment:1 Changed 18 years ago by
Keywords: | insertHTML removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |

I've committed [295] to workaround the problem using the same trick that it was used in the SetInnerHtml function (although I've used a span to try to avoid problems if we're pasting inside a non-block element).