source: trunk/admin/inc/FCKeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js@ 2

Last change on this file since 2 was 2, checked in by root, 15 years ago

importo il progetto

File size: 889 bytes
Line 
1/*
2 * FCKeditor - The text editor for internet
3 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4 *
5 * Licensed under the terms of the GNU Lesser General Public License:
6 * http://www.opensource.org/licenses/lgpl-license.php
7 *
8 * For further information visit:
9 * http://www.fckeditor.net/
10 *
11 * "Support Open Source software. What about a donation today?"
12 *
13 * File Name: fckpasteplaintextcommand.js
14 * FCKPastePlainTextCommand Class: represents the
15 * "Paste as Plain Text" command.
16 *
17 * File Authors:
18 * Frederico Caldeira Knabben (fredck@fckeditor.net)
19 */
20
21var FCKPastePlainTextCommand = function()
22{
23 this.Name = 'PasteText' ;
24}
25
26FCKPastePlainTextCommand.prototype.Execute = function()
27{
28 FCK.PasteAsPlainText() ;
29}
30
31FCKPastePlainTextCommand.prototype.GetState = function()
32{
33 return FCK.GetNamedCommandState( 'Paste' ) ;
34}
Note: See TracBrowser for help on using the repository browser.