+++ /dev/null
-/*\r
-Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\r
-For licensing, see LICENSE.html or http://ckeditor.com/license\r
-*/\r
-\r
-/**\r
- * @file Horizontal Rule plugin.\r
- */\r
-\r
-(function()\r
-{\r
- var horizontalruleCmd =\r
- {\r
- canUndo : false, // The undo snapshot will be handled by 'insertElement'.\r
- exec : function( editor )\r
- {\r
- var hr = editor.document.createElement( 'hr' );\r
- editor.insertElement( hr );\r
- }\r
- };\r
-\r
- var pluginName = 'horizontalrule';\r
-\r
- // Register a plugin named "horizontalrule".\r
- CKEDITOR.plugins.add( pluginName,\r
- {\r
- init : function( editor )\r
- {\r
- editor.addCommand( pluginName, horizontalruleCmd );\r
- editor.ui.addButton( 'HorizontalRule',\r
- {\r
- label : editor.lang.horizontalrule,\r
- command : pluginName\r
- });\r
- }\r
- });\r
-})();\r