Opened 14 years ago

Closed 14 years ago

#6275 closed Bug (fixed)

insert <embed> and custom attributes in other tags failed in Firefox 3.6.9

Reported by: PC Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Firefox Cc:

Description

example:

oEditor.insertHTML('<embed src="http://www.youtube.com/v/ZZxx3VmTq3M?fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed>');

but oEditor.getData() returns

<img align="" alt="Flash" src="../images/spacer.gif?t=A7HG4HT" style="width: 480px; height: 385px;" />

only happens in FF3.6.9

Change History (15)

comment:1 Changed 14 years ago by Dumitru Ceban

It's a bug in insertHtml() method. I've tried also via firebug to insert an object in the demo from youtube with the function insertHtml() and it's stripping all tag properties like "_cke_realelement" containing object infos from the img placeholder.

comment:2 Changed 14 years ago by douglasandre

I'm also having the same problem, please help me! I am using CKeditor version 3.2 and some users complained that the insertion of videos was buggy. I found the problem and performed tests with version 3.4 which showed the same problem on mozila firefox >= 3.6.9

comment:3 Changed 14 years ago by rocing

I'm also having the same problem, please help me!

comment:4 Changed 14 years ago by jean-francois labbe

The src attribute of the img tag is also modified to a relative path.... I received a lot of complaint from our client.... Please help

comment:5 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Keywords: Firefox added
Status: newconfirmed
Summary: insert <embed> failed in Firefox 3.6.9insert <embed> and custom attributes in other tags failed in Firefox 3.6.9

This is due to a security change in Firefox, and it's affecting all the editors that use the inserthml command. https://bugzilla.mozilla.org/show_bug.cgi?id=596300

comment:6 Changed 14 years ago by Alfonso Martínez de Lizarrondo

#6288 has been marked as dup

comment:7 Changed 14 years ago by Alfonso Martínez de Lizarrondo

#6280 and #6321 have been marked as dups

comment:8 Changed 14 years ago by Alfonso Martínez de Lizarrondo

#6325 has been marked as dup

comment:9 Changed 14 years ago by abushnell

This has become a major issue for our clients who use a WYSIWYG in a CMS. Any timeframe for this fix?

comment:10 in reply to:  9 Changed 14 years ago by Sa'ar Zac Elias

Replying to abushnell:

This has become a major issue for our clients who use a WYSIWYG in a CMS. Any timeframe for this fix?

This is not up to us. This is a FF bug.

comment:11 Changed 14 years ago by Sa'ar Zac Elias

#6364 has been marked as dup

comment:12 Changed 14 years ago by Alfonso Martínez de Lizarrondo

Mozilla has published beta builds of Firefox 3.6.11 that includes the fixes for these problems: ftp://ftp.mozilla.org/pub/firefox/nightly/3.6.11-candidates/build2/

Anyone interested should test them before they are released and published for everybody.

comment:13 Changed 14 years ago by Joel Stein

Firefox 3.6.11 was released yesterday, and it appears to have fixed this problem.

comment:14 Changed 14 years ago by Alfonso Martínez de Lizarrondo

#6631 has been marked as dup

comment:15 in reply to:  13 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: confirmedclosed

Replying to joelstein:

Firefox 3.6.11 was released yesterday, and it appears to have fixed this problem.

Confirmed.

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