Editor deletes my Javascript

Last post 10-11-2005, 11:45 AM by buehlert. 3 replies.
Sort Posts: Previous Next
  •  10-11-2005, 8:43 AM 11621

    Editor deletes my Javascript

    Hi!
    On my page I have a table where I have for all the cells this syntax:
    <td class="cellout" onmouseover="this.classname='cellover'" onmouseout="this.classname='cellout'">

    After saving the page, all lines look like this:
    <td class="cellout">

    Why did that happen? Isnt there a possibility to use Javascripts?

    Thanks a lot in advance.
    Thomas
  •  10-11-2005, 11:18 AM 11630 in reply to 11621

    Re: Editor deletes my Javascript

    By the way: I am using the latest version (5.0) for Dotnetnuke 3.1 
  •  10-11-2005, 11:26 AM 11632 in reply to 11630

    Re: Editor deletes my Javascript

    Please make sure the you set Admin_EnableStripScriptTags  ="false"  in your web.config.
     
    <add name="CEHtmlEditorProvider"
            type="DotNetNuke.HtmlEditor.CEHtmlEditorProvider, DotNetNuke.CEHtmlEditorProvider"
            providerPath="~\Providers\HtmlEditorProviders\CEHtmlEditorProvider\CuteSoft_Client\CuteEditor\"
            UseDNNRootImageDirectory="true"
            RemoveServerNamesFromUrl="true"
            UseRelativeLinks="true"
         RenderRichDropDown="true"
         UseSimpleAmpersand="false"
         CustomCulture=""
         ThemeType="Office2003_BlueTheme"
         DisableAutoFormatting="false"
         BreakElement="div"
         EditorBodyStyle="background-color:#ffffff"
         Admin_AutoConfigure = "Full"
         Admin_SecurityPolicyFile = "admin.config"
         Admin_TemplateItemList = ""
         Admin_DisableItemList = ""
         Admin_AllowPasteHtml  ="true"
         Admin_EditorOnPaste  = "default"
         Admin_ReadOnly = "false"
         Admin_ShowBottomBar ="true"
         Admin_ShowHtmlMode  ="true"
         Admin_ShowPreviewMode  ="true"
         Admin_EnableStripScriptTags  ="false" 
         Admin_EnableContextMenu    = "true"
         Admin_EnableContextMenuEditing  = "true"  
         Admin_EnableContextMenuFormat   = "true"
         Admin_EnableContextMenuInsert  = "true"
         Admin_EnableContextMenuInsertAdvanced  = "true"
         Admin_EnableContextMenuInsertFiles = "true"
         Admin_EnableContextMenuInsertForms = "true"
         Admin_EnableContextMenuRelative = "true"
         Admin_EnableContextMenuTags = "true"
         Admin_EnableContextMenuVerbs = "true"          
         
         Registered_AutoConfigure = "Full"
         Registered_SecurityPolicyFile = "default.config"
         Registered_TemplateItemList = ""
         Registered_DisableItemList = ""
         Registered_AllowPasteHtml  ="true"
         Registered_EditorOnPaste  = "default"
         Registered_ReadOnly = "false"
         Registered_ShowBottomBar ="true"
         Registered_ShowHtmlMode  ="true"
         Registered_ShowPreviewMode  ="true"
         Registered_EnableStripScriptTags  ="false" 
         Registered_EnableContextMenu    ="true" 
         Registered_EnableContextMenuEditing  = "true"  
         Registered_EnableContextMenuFormat   = "true"
         Registered_EnableContextMenuInsert  = "true"
         Registered_EnableContextMenuInsertAdvanced  = "true"
         Registered_EnableContextMenuInsertFiles = "true"
         Registered_EnableContextMenuInsertForms = "true"
         Registered_EnableContextMenuRelative = "true"
         Registered_EnableContextMenuTags = "true"
         Registered_EnableContextMenuVerbs = "true"   
         
         Guest_AutoConfigure = "Minimal"
         Guest_SecurityPolicyFile = "default.config"
         Guest_TemplateItemList = ""
         Guest_DisableItemList = ""
         Guest_AllowPasteHtml  ="true"
         Guest_EditorOnPaste  = "default"
         Guest_ReadOnly = "false"
         Guest_ShowBottomBar ="true"
         Guest_ShowHtmlMode  ="true"
         Guest_ShowPreviewMode  ="true"
         Guest_EnableStripScriptTags  ="false" 
         Guest_EnableContextMenu    ="true"  
         Guest_EnableContextMenuEditing  = "true"  
         Guest_EnableContextMenuFormat   = "true"
         Guest_EnableContextMenuInsert  = "true"
         Guest_EnableContextMenuInsertAdvanced  = "true"
         Guest_EnableContextMenuInsertFiles = "true"
         Guest_EnableContextMenuInsertForms = "true"
         Guest_EnableContextMenuRelative = "true"
         Guest_EnableContextMenuTags = "true"
         Guest_EnableContextMenuVerbs = "true"  
         
        <!--  
         NewRoleName_AutoConfigure = "Full"
         NewRoleName_SecurityPolicyFile = "default.config"
         NewRoleName_TemplateItemList = ""
         NewRoleName_DisableItemList = ""
         NewRoleName_AllowPasteHtml  ="true"
         NewRoleName_EditorOnPaste  = "default"
         NewRoleName_ReadOnly = "false"
         NewRoleName_ShowBottomBar ="true"
         NewRoleName_ShowHtmlMode  ="true"
         NewRoleName_ShowPreviewMode  ="true"
         NewRoleName_EnableStripScriptTags  ="false" 
         NewRoleName_EnableContextMenu    ="true"  
         NewRoleName_EnableContextMenuEditing  = "true"  
         NewRoleName_EnableContextMenuFormat   = "true"
         NewRoleName_EnableContextMenuInsert  = "true"
         NewRoleName_EnableContextMenuInsertAdvanced  = "true"
         NewRoleName_EnableContextMenuInsertFiles = "true"
         NewRoleName_EnableContextMenuInsertForms = "true"
         NewRoleName_EnableContextMenuRelative = "true"
         NewRoleName_EnableContextMenuTags = "true"
         NewRoleName_EnableContextMenuVerbs = "true"  
            />  -->

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-11-2005, 11:45 AM 11637 in reply to 11632

    Re: Editor deletes my Javascript

    I have changed the attribute and it works now!
    Thanks!
View as RSS news feed in XML