Opened 17 years ago

Closed 17 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 17 years ago by Alfonso Martínez de Lizarrondo

Keywords: insertHTML removed
Resolution: fixed
Status: newclosed

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).

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy