Plain text pasting is available in the built in editor configurations
You can modify your FCKEditor interface to include a Paste as plain text button on the tool bar. Go to Control Panel/Customize/Editor and add the following code:
FCKConfig.ToolbarSets["Default"] = [
['MindTouchDeki_Save','-','Source'],
['RemoveFormat','-','TextColor','BGColor'],
['MindTouchDeki_InsertExtension','-','MindTouchDeki_Transform'],
'/',
['MindTouchDeki_Cancel'],
['PasteText'],
['Bold','Italic','Underline','StrikeThrough','-','OrderedList','UnorderedList','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','Outdent','Indent','Blockquote'],
['MindTouchDeki_InsertLink','MindTouchDeki_InsertImage','MindTouchDeki_InsertVideo','MindTouchDeki_InsertTemplate','Table'],
'/',
['Style','FontFormat','FontName','FontSize']
] ;Save the changes and return to Deki. When you enter the editor you will now have a Paste as plain text button right after your Cancel button. This is simply the default editor settings with the PasteText button added. There are a lot of other FCKEditor functions that can be enable in a similar manner.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by