Is it possible to force "Paste Plain Text" only?

Last post 10-03-2006, 10:04 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  10-03-2006, 7:27 AM 23307

    Is it possible to force "Paste Plain Text" only?

    Other than removing the "Paste from word" and "Paste" buttons, is it possible to force all forms of paste such as Ctrl-V and Right-Click-Paste to always perform a "Paste Plain Text" action?
  •  10-03-2006, 10:04 AM 23310 in reply to 23307

    Re: Is it possible to force "Paste Plain Text" only?

    amacalindong,
     
    Yes.

    Please set your Editor.EditorOnPaste Property to:
     
    Editor.EditorOnPaste = CuteEditor.PasteBehavior.PasteText

     


    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
    Default When you paste text into the editor it is not processed.
    Disabled Paste function is disabed.
    PasteWord When you pasting the content from Word into the editor, the non-required code that usually comes with pasting from Word are automatically cleaned up.
    PasteText When 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
    ConfirmWord When 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 as RSS news feed in XML