Re: EditorWysiwygModeCss + Doctype +IE9 = broken editor when saving

  •  08-18-2011, 3:04 PM

    Re: EditorWysiwygModeCss + Doctype +IE9 = broken editor when saving

    Hi MarceIF,
     
    I tested the code you provide, it works fine for me.
     
    Can you try the example page below?
     
    Type some text in the editor then click the button, the label always got the new text from editor.
     
    I test with IE 9.0.8112.16421. If it need some special steps to reproduce, please show it to me.
     
    <%@ Page Language="VB" %>

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <script runat="server">

        Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
            label1.Text = txtEditor.Text
        End Sub
    </script>

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <div>
                <CE:Editor ID="txtEditor" runat="server" Width="98%" Height="350" EditorWysiwygModeCss="~/CeCSS.css" />
            </div>
            <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" /><br />
            <asp:Label ID="label1" runat="server"></asp:Label>
        </form>
    </body>
    </html>
     
    Regards,
     
    Ken
View Complete Thread