Opened 10 years ago

Closed 10 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 10 years ago by alfonsoml

  • Keywords insertHTML removed
  • Resolution set to fixed
  • Status changed from new to 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).

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy