2
* FCKeditor - The text editor for internet
3
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
5
* Licensed under the terms of the GNU Lesser General Public License:
6
* http://www.opensource.org/licenses/lgpl-license.php
8
* For further information visit:
9
* http://www.fckeditor.net/
11
* "Support Open Source software. What about a donation today?"
13
* File Name: fckpastewordcommand.js
14
* FCKPasteWordCommand Class: represents the "Paste from Word" command.
17
* Frederico Caldeira Knabben (fredck@fckeditor.net)
20
var FCKPasteWordCommand = function()
22
this.Name = 'PasteWord' ;
25
FCKPasteWordCommand.prototype.Execute = function()
30
FCKPasteWordCommand.prototype.GetState = function()
32
if ( FCKConfig.ForcePasteAsPlainText )
33
return FCK_TRISTATE_DISABLED ;
35
return FCK.GetNamedCommandState( 'Paste' ) ;