Re: Paste from word document

  •  03-03-2005, 4:26 PM

    Re: Paste from word document

    Praveen,
     
    1. What actually happens from the users point of view if they chose not to clean the code?

    When you pasting the content from Word into the editor, the non-required code that usually comes with pasting from Word.

    2. Will there be any problem with the outer page layout in my application if I chose to clean the code?

    See above.
     
    3. If the user is not familiar with cleaning code etc.. does that dialog box means anything to him?

    See above.


    4. Is there any way to configure to clean or not to clean the code without promting the users?
    5. In my application, I don't even get that dialog box to clean the code, am I missing something?


    Editor.EditorOnPaste Property

    Specifies the manner in which the editor handles pasted text.
     

    PasteBehavior Enumeration

    Enumerates the manners in which the editor handles pasted text.

    Members:

    Member Name

    Description
    DefaultWhen you paste text into the editor it is not processed.
    DisabledPaste function is disabed.
    PasteWordWhen you pasting the content from Word into the editor, the non-required code that usually comes with pasting from Word are automatically cleaned up.
    PasteTextWhen you paste text into the editor, all HTML formatting is stripped. This option is ideal for content management systems where you want absolute control over the formatting
    ConfirmWordWhen you pasting the content from Word into the editor, will prompt users with a popup prompt to clean the non-required code.


    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

View Complete Thread