Re: Cute editor not loading properly in jquery pop-up with Chrome

  •  01-10-2012, 4:07 PM

    Re: Cute editor not loading properly in jquery pop-up with Chrome

    Hi nrsharma,
     
    1. The example below shows you how to set empty content for editor
     
     
    <%@ Page Language="C#" %>
    <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
    </head>
    <script runat="server">
        protected override void OnLoad(EventArgs e)
        {
            Editor1.Text = "content";
            base.OnLoad(e);
        }
    </script>
    <body>
        <form id="form1" runat="server">
            <CE:Editor ID="Editor1" runat="server">
            </CE:Editor>
            <input type="button" value="set empty value" onclick="setEmpty()" />
        </form>
    </body>
    </html>
    <script>
    function setEmpty()
    {
        var editor1=document.getElementById("<%= Editor1.ClientID %>");
        editor1.SetHTML(" ");
    }
    </script>
     

    2.  It works fine for me. Ensure that you are using the latest version
     
    Latest version downloads  http://www.cutesoft.net/downloads/folders/21904/download.aspx
     
    Regards,
     
    Ken 
View Complete Thread