mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
parent
d520d6cab8
commit
4c75358abd
@ -10,7 +10,7 @@ function register(editor, url) {
|
|||||||
parentNode.insertBefore(hrElem, cNode);
|
parentNode.insertBefore(hrElem, cNode);
|
||||||
});
|
});
|
||||||
|
|
||||||
editor.ui.registry.addButton('hr', {
|
editor.ui.registry.addButton('customhr', {
|
||||||
icon: 'horizontal-rule',
|
icon: 'horizontal-rule',
|
||||||
tooltip: 'Insert horizontal line',
|
tooltip: 'Insert horizontal line',
|
||||||
onAction() {
|
onAction() {
|
||||||
|
@ -36,7 +36,7 @@ function registerPrimaryToolbarGroups(editor) {
|
|||||||
editor.ui.registry.addGroupToolbarButton('insertoverflow', {
|
editor.ui.registry.addGroupToolbarButton('insertoverflow', {
|
||||||
icon: 'more-drawer',
|
icon: 'more-drawer',
|
||||||
tooltip: 'More',
|
tooltip: 'More',
|
||||||
items: 'hr codeeditor drawio media details'
|
items: 'customhr codeeditor drawio media details'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,9 +144,11 @@ return [
|
|||||||
'url' => 'URL',
|
'url' => 'URL',
|
||||||
'text_to_display' => 'Text to display',
|
'text_to_display' => 'Text to display',
|
||||||
'title' => 'Title',
|
'title' => 'Title',
|
||||||
'open_link' => 'Open link in...',
|
'open_link' => 'Open link',
|
||||||
|
'open_link_in' => 'Open link in...',
|
||||||
'open_link_current' => 'Current window',
|
'open_link_current' => 'Current window',
|
||||||
'open_link_new' => 'New window',
|
'open_link_new' => 'New window',
|
||||||
|
'remove_link' => 'Remove link',
|
||||||
'insert_collapsible' => 'Insert collapsible block',
|
'insert_collapsible' => 'Insert collapsible block',
|
||||||
'collapsible_unwrap' => 'Unwrap',
|
'collapsible_unwrap' => 'Unwrap',
|
||||||
'edit_label' => 'Edit label',
|
'edit_label' => 'Edit label',
|
||||||
|
@ -50,6 +50,7 @@ return [
|
|||||||
'permissions_role_everyone_else' => 'Everyone Else',
|
'permissions_role_everyone_else' => 'Everyone Else',
|
||||||
'permissions_role_everyone_else_desc' => 'Set permissions for all roles not specifically overridden.',
|
'permissions_role_everyone_else_desc' => 'Set permissions for all roles not specifically overridden.',
|
||||||
'permissions_role_override' => 'Override permissions for role',
|
'permissions_role_override' => 'Override permissions for role',
|
||||||
|
'permissions_inherit_defaults' => 'Inherit defaults',
|
||||||
|
|
||||||
// Search
|
// Search
|
||||||
'search_results' => 'Search Results',
|
'search_results' => 'Search Results',
|
||||||
|
@ -25,7 +25,7 @@ $inheriting - Boolean if the current row should be marked as inheriting default
|
|||||||
<div class="px-l flex-container-row items-center" refs="entity-permissions@everyone-inherit">
|
<div class="px-l flex-container-row items-center" refs="entity-permissions@everyone-inherit">
|
||||||
@include('form.custom-checkbox', [
|
@include('form.custom-checkbox', [
|
||||||
'name' => 'entity-permissions-inherit',
|
'name' => 'entity-permissions-inherit',
|
||||||
'label' => 'Inherit defaults',
|
'label' => trans('entities.permissions_inherit_defaults'),
|
||||||
'value' => 'true',
|
'value' => 'true',
|
||||||
'checked' => $inheriting
|
'checked' => $inheriting
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user