Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
 * 
 * Licensed under the terms of the GNU Lesser General Public License:
 *              http://www.opensource.org/licenses/lgpl-license.php
 * 
 * For further information visit:
 *              http://www.fckeditor.net/
 * 
 * File Name: fckpasteplaintextcommand.js
 *      FCKPastePlainTextCommand Class: represents the 
 *      "Paste as Plain Text" command.
 * 
 * File Authors:
 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
 */

var FCKPastePlainTextCommand = function() 
{
        this.Name = 'PasteText' ;
}

FCKPastePlainTextCommand.prototype.Execute = function()
{
        FCK.PasteAsPlainText() ;
}

FCKPastePlainTextCommand.prototype.GetState = function()
{
        return FCK.GetNamedCommandState( 'Paste' ) ;
}