Javascript onmouseover problems

Last post 07-20-2009, 1:05 PM by lanec. 2 replies.
Sort Posts: Previous Next
  •  07-01-2005, 10:30 AM 8264

    Javascript onmouseover problems

    When editing a file with javascript onmouseover i get javascript errors..  how do i turn off the embedded javascript in the html file i'm editing while its in the editor?
  •  07-03-2005, 12:04 PM 8313 in reply to 8264

    Re: Javascript onmouseover problems

    WebsiteRepairGuys,
     
    Currently we don't have good solution to this issue. The onxxxevent is the always first event handler to be executed by the browser.

    If you set Editor.EnableStripScriptTags Property (Specifies whether to remove inject script before write the string into the db) to true,  you can click the HTML view button when the page loads.

    CuteEditor will automatically remove all the inline JavaScript code.

    Hope it helps.

    Keep me posted.


     
     
     

    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

  •  07-20-2009, 1:05 PM 54124 in reply to 8313

    Re: Javascript onmouseover problems

    Hi !
     
    Are there any improvements in newer version of CuteEditor for this issue ?
     
    I use CuteEditor in a Web Management system and there are some ONMOUSEOVER and ONMOUSEOUT events in some pages.  I want to let Editor.EnableStripScriptTags="false" because I don't want those events to be clearded by the Editor before insterting in the DB.
     
    But, when the user loads the Editor in Normal-Editing view, I get JavaScript errors saying something about Expected ';'.
     
    Is there somehting I can do about it, except turning ON Editor.EnableStripScriptTags ?
     
    Here is my actual CuteEditor config :
     
     <CE:Editor
        class="editeurText"
        id="txtContenu"
        OnPostBackCommand="txtContenu_PostBackCommand"
        ConfigurationPath="~/CuteSoft_Client/CuteEditor/Configuration/AutoConfigure/V3R_Gestion.config"
        CustomCulture="fr-CA"
        style="margin:auto;"
        EditorWysiwygModeCss="~/gestion/theme/wysiwyg.css"
        EnableStripIframeTags="false"
        AllowPasteHtml="False"
        EditorOnPaste="PastePureText"
        EnableClientScript="true"
        EnableStripScriptTags="false"
        runat="server">
    </CE:Editor>

     
    Thanks a lot !
     
    Jeff
View as RSS news feed in XML