www.gusucode.com > 站长俱乐部新闻发布系统精简版 1.01源码程序 > admin/FCKeditor/editor/_source/commandclasses/fckpastewordcommand.js
var FCKPasteWordCommand = function() { this.Name = 'PasteWord' ; } FCKPasteWordCommand.prototype.Execute = function() { FCK.PasteFromWord() ; } FCKPasteWordCommand.prototype.GetState = function() { if ( FCKConfig.ForcePasteAsPlainText ) return FCK_TRISTATE_DISABLED ; else return FCK.GetNamedCommandState( 'Paste' ) ; }