PasteText acting as ConfirmWord

Last post 12-21-2007, 10:05 AM by mbroooks. 2 replies.
Sort Posts: Previous Next
  •  12-21-2007, 8:35 AM 35947

    PasteText acting as ConfirmWord

    I'm having some difficulty getting the editor to act as I think it should, and I'm hoping someone can help me.
     
    I want text pasted into the editor to be stripped of all formatting except for paragraph marks -- the PasteText setting.  The control's EditorOnPaste property is being set to CuteEditor.PasteBehavior.PasteText.  However, the formatting isn't being stripped out.  On review, I found that there was a popup being blocked, and if I stopped blocking popups, then I got a popup window for stripping out the formatting.
     
    This appears to be the functionality described by the ConfirmWord setting.  "When you pasting the content from Word into the editor, will prompt users with a popup prompt to clean the non-required code."

    I don't want to do ConfirmWord, I want the PasteText option.  Is there something I should be doing differently?

    Thanks.

    --Matt

  •  12-21-2007, 9:45 AM 35950 in reply to 35947

    Re: PasteText acting as ConfirmWord

    Matt,
     
    All you need to do is setting EditorOnPaste property.
     

    Editor.EditorOnPaste Property

    Specifies the manner in which the editor handles pasted text.

     
    Demo:
     
     
     

    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

  •  12-21-2007, 10:05 AM 35954 in reply to 35950

    Re: PasteText acting as ConfirmWord

    I apologize, I'm not explaining things right, I guess.
     
    I am setting Editor.EditorOnPaste to PasteText.
     
    However, it is acting as if I have set it to ConfirmWord, i.e. launching a pop-up window.
     
    Is there a the PasteText property might be acting like ConfirmWord?  Do both settings launch a pop-up window?  If so, is there a a way to get the editor to strip out the formatting when the pop-up window is blocked?
     
    --Matt

View as RSS news feed in XML