+++ /dev/null
-/*\r
- * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2009 Frederico Caldeira Knabben\r
- *\r
- * == BEGIN LICENSE ==\r
- *\r
- * Licensed under the terms of any of the following licenses at your\r
- * choice:\r
- *\r
- * - GNU General Public License Version 2 or later (the "GPL")\r
- * http://www.gnu.org/licenses/gpl.html\r
- *\r
- * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")\r
- * http://www.gnu.org/licenses/lgpl.html\r
- *\r
- * - Mozilla Public License Version 1.1 or later (the "MPL")\r
- * http://www.mozilla.org/MPL/MPL-1.1.html\r
- *\r
- * == END LICENSE ==\r
- *\r
- * FCKRemoveFormatCommand Class: controls the execution of a core style. Core\r
- * styles are usually represented as buttons in the toolbar., like Bold and\r
- * Italic.\r
- */\r
-\r
- var FCKRemoveFormatCommand = function()\r
- {\r
- this.Name = 'RemoveFormat' ;\r
- }\r
-\r
- FCKRemoveFormatCommand.prototype =\r
- {\r
- Execute : function()\r
- {\r
- FCKStyles.RemoveAll() ;\r
-\r
- FCK.Focus() ;\r
- FCK.Events.FireEvent( 'OnSelectionChange' ) ;\r
- },\r
-\r
- GetState : function()\r
- {\r
- return FCK.EditorWindow ? FCK_TRISTATE_OFF : FCK_TRISTATE_DISABLED ;\r
- }\r
- };\r