Rev | Line | |
---|
[44] | 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 |
|
---|
| 21 | var FCKPastePlainTextCommand = function()
|
---|
| 22 | {
|
---|
| 23 | this.Name = 'PasteText' ;
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | FCKPastePlainTextCommand.prototype.Execute = function()
|
---|
| 27 | {
|
---|
| 28 | FCK.PasteAsPlainText() ;
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 | FCKPastePlainTextCommand.prototype.GetState = function()
|
---|
| 32 | {
|
---|
| 33 | return FCK.GetNamedCommandState( 'Paste' ) ;
|
---|
| 34 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.