mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
@ -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() {
|
||||
|
@ -36,7 +36,7 @@ function registerPrimaryToolbarGroups(editor) {
|
||||
editor.ui.registry.addGroupToolbarButton('insertoverflow', {
|
||||
icon: 'more-drawer',
|
||||
tooltip: 'More',
|
||||
items: 'hr codeeditor drawio media details'
|
||||
items: 'customhr codeeditor drawio media details'
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user