4 * Copyright, Moxiecode Systems AB
5 * Released under LGPL License.
7 * License: http://www.tinymce.com/license
8 * Contributing: http://www.tinymce.com/contributing
11 /*global tinymce:true */
13 tinymce.PluginManager.add('hr', function(editor) {
14 editor.addCommand('InsertHorizontalRule', function() {
15 editor.execCommand('mceInsertContent', false, '<hr />');
18 editor.addButton('hr', {
20 tooltip: 'Horizontal line',
21 cmd: 'InsertHorizontalRule'
24 editor.addMenuItem('hr', {
26 text: 'Horizontal line',
27 cmd: 'InsertHorizontalRule',