Hello Eric,
I try but continue to reformat the source...
my js configuration for the editor is:
-- BEGIN --
// Custom configuration for iRite
FCKConfig.SkinPath = 'skins/silver/'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
FCKConfig.AutoDetectLanguage = false;
FCKConfig.DefaultLanguage = 'en';
FCKConfig.StartupFocus = false;
FCKConfig.FullPage = false;
FCKConfig.BaseHref = '';
FCKConfig.DefaultLinkTarget = '_blank';
FCKConfig.ToolbarSets["Custom"] = [
['Source','DocProps','-','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'],
'/',
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['FitWindow','-','About']
]; /* Toolbar end */
FCKConfig.ForceStrongEm = true;
FCKConfig.FormatIndentator = ' ';
FCKConfig.EnterMode = 'p';
FCKConfig.FillEmptyBlocks = false;
FCKConfig.FormatOutput = false;
FCKConfig.FormatSource = false;
FCKConfig.IncludeGreekEntities = false;
FCKConfig.IncludeLatinEntities = false;
FCKConfig.ProcessHTMLEntities = false;
FCKConfig.ProcessNumericEntities = false;
FCKConfig.AdditionalNumericEntities = '';
FCKConfig.ForcePasteAsPlainText = true;
FCKConfig.CleanWordKeepsStructure = true;
FCKConfig.EditorAreaCSS = '../../css/screen.css'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.BodyClass = 'editor';
FCKConfig.StylesXmlPath = '../custom/default1.xml'; // relative to fckeditor/editor/fckeditor.html
-- END --
the iRite code in update page is
<?php
// WebAssist iRite: Rich Text Editor for Dreamweaver
$WARichTextEditor_1 = CreateRichTextEditor ("htmleditor", "WA_iRite/", "640px", "480px", "Custom", "../custom/default1.js", "".$row_WADApages['webpage'] ."");
?>
if I paste the first time a code like this:
-- BEGIN --
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="100" id="swf" name="flash">
<param name="movie" value="test.swf" />
<param name="quality" value="high" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="test.swf" width="300" height="100">
<param name="quality" value="high" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
-- END --
When I update I get:
-- BEGIN --
<div><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="100" id="swf" name="flash">
<param name="movie" value="test.swf" />
<param name="quality" value="high" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="test.swf" width="300" height="100">
<param name="quality" value="high" />
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object> <!--<![endif]--></div>
-- END --
This cause errors in iexplorer... :-(