]> BookStack Code Mirror - bookstack/blobdiff - resources/js/wysiwyg/plugins-customhr.js
Guest create page: name field autofocus
[bookstack] / resources / js / wysiwyg / plugins-customhr.js
index d484284cad24afb14b926ad3e7e9aa2e1e4e3a9b..df1984d4ee998ae4e61f4f6b95721fee1f5919fb 100644 (file)
@@ -10,7 +10,7 @@ function register(editor, url) {
         parentNode.insertBefore(hrElem, cNode);
     });
 
-    editor.ui.registry.addButton('hr', {
+    editor.ui.registry.addButton('customhr', {
         icon: 'horizontal-rule',
         tooltip: 'Insert horizontal line',
         onAction() {