Ticket #467 (closed Bug: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by alfonsoml

  • keywords insertHTML removed
  • status changed from new to closed
  • resolution set to fixed

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.