Paste Options not working

Last post 07-08-2008, 8:28 AM by jsmorse. 3 replies.
Sort Posts: Previous Next
  •  07-06-2008, 2:44 PM 41962

    Paste Options not working

    I have set the CE options as follows:
     

    <CE:Editor ID="headerTextTextBox" runat="server" Text='<%# Bind("headerTExt") %>'

    ActiveTab="Edit" AutoConfigure="Minimal" ContextMenuMode="Minimal"

    EditorWysiwygModeCss="~/css/MainCSS.css"

    ShowDecreaseButton="False" ShowEnlargeButton="False"

    URLType="Default" Width="100%"

    ShowPreviewMode="False" UsePhysicalFormattingTags="true" height="20px"

    CssClass="entry_grid" ResizeMode="AutoAdjust" AllowPasteHtml="False"

    BreakElement="Br" ShowGroupMenuImage="False" ResizeStep="20" EditorOnPaste="PastePureText">

    <FrameStyle BackColor="White" BorderColor="#669966" BorderStyle="Solid" BorderWidth="2px" />

    </CE:Editor>

     
    (Note that I have set EditorOnPaste="PastePureText".)
     
    When I paste from Word, the HTML view shows:
     
    <span style="font-size: 10pt; color: black; font-family: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">when the world was small and organizations were traditional, most people worked some kind of a standard shift, usually from 8:00 a.m. to 5:00 p.m., and managers could see that their staff was working just by looking at them.</span>
     
    I thought that PastePureText stripped all tags. I've also tried PasteFromWord -- same result.
     
    Please help!
     
    thanks
     
     
  •  07-06-2008, 2:54 PM 41965 in reply to 41962

    Re: Paste Options not working

    It appears that the demo on this site also allows pasting from Word without stripped tags. ???
  •  07-07-2008, 12:49 PM 41984 in reply to 41965

    Re: Paste Options not working

    jsmorse,
     
    Please try the following example:
     
     
    If it works for you, please download the latest build.

    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-08-2008, 8:28 AM 42021 in reply to 41984

    Re: Paste Options not working

    Worked! Thanks!
View as RSS news feed in XML