gusucode.com > 爱美尔女性商城源码 1.0源码程序 > BJXeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js
/* * Copyright (C) 2003-2006 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.gzshopping.com/ * * * File Name: fckpasteplaintextcommand.js * FCKPastePlainTextCommand Class: represents the * "Paste as Plain Text" command. * * File Authors: * Frederico Caldeira Knabben (fredck@gzshopping.com) */ var FCKPastePlainTextCommand = function() { this.Name = 'PasteText' ; } FCKPastePlainTextCommand.prototype.Execute = function() { FCK.PasteAsPlainText() ; } FCKPastePlainTextCommand.prototype.GetState = function() { return FCK.GetNamedCommandState( 'Paste' ) ; }