Index: /FCKeditor/trunk/_whatsnew.html
===================================================================
--- /FCKeditor/trunk/_whatsnew.html (revision 400)
+++ /FCKeditor/trunk/_whatsnew.html (revision 401)
@@ -56,5 +56,7 @@
Patch 1511298] The CF Component failed on CFMX 6.0
[#639] If the
- FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined"
+ FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined".
+ [#497] Fixed EMBED
+ attributes handling in IE.
Index: /FCKeditor/trunk/editor/_source/internals/fck.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fck.js (revision 400)
+++ /FCKeditor/trunk/editor/_source/internals/fck.js (revision 401)
@@ -298,5 +298,5 @@
// IE doesn't support and it breaks it. Let's protect it.
if ( FCKBrowserInfo.IsIE )
- sTags += sTags.length > 0 ? '|ABBR|XML' : 'ABBR|XML' ;
+ sTags += sTags.length > 0 ? '|ABBR|XML|EMBED' : 'ABBR|XML|EMBED' ;
var oRegex ;
Index: /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js
===================================================================
--- /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js (revision 400)
+++ /FCKeditor/trunk/editor/_source/internals/fckdocumentprocessor.js (revision 401)
@@ -144,18 +144,4 @@
var oCloned = oEmbed.cloneNode( true ) ;
- // On IE, some properties are not getting clonned properly, so we
- // must fix it. Thanks to Alfonso Martinez.
- if ( FCKBrowserInfo.IsIE )
- {
- var aAttributes = [ 'scale', 'play', 'loop', 'menu', 'wmode', 'quality' ] ;
- for ( var iAtt = 0 ; iAtt < aAttributes.length ; iAtt++ )
- {
- var oAtt = oEmbed.getAttribute( aAttributes[iAtt] ) ;
- if ( oAtt ) oCloned.setAttribute( aAttributes[iAtt], oAtt ) ;
- }
- // It magically gets lost after reading it in oType
- oCloned.setAttribute( 'type', oType.nodeValue ) ;
- }
-
var oImg = FCKDocumentProcessor_CreateFakeImage( 'FCK__Flash', oCloned ) ;
oImg.setAttribute( '_fckflash', 'true', 0 ) ;
@@ -165,8 +151,4 @@
oEmbed.parentNode.insertBefore( oImg, oEmbed ) ;
oEmbed.parentNode.removeChild( oEmbed ) ;
-
-// oEmbed.setAttribute( '_fcktemp', 'true', 0) ;
-// oEmbed.style.display = 'none' ;
-// oEmbed.hidden = true ;
}
}