mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Exclude tools from catch-all menu in media and reference edit dialogs"
This commit is contained in:
commit
0333d87fd3
|
@ -38,7 +38,14 @@ ve.ui.MWMediaEditDialog.static.icon = 'picture';
|
|||
ve.ui.MWMediaEditDialog.static.toolbarGroups = [
|
||||
{ 'include': [ 'undo', 'redo' ] },
|
||||
{ 'include': [ 'bold', 'italic', 'link', 'clear' ] },
|
||||
{ 'include': '*', 'exclude': [ 'referenceList' ] }
|
||||
{
|
||||
'include': '*',
|
||||
'exclude': [
|
||||
{ 'group': 'format' },
|
||||
{ 'group': 'structure' },
|
||||
'referenceList'
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
ve.ui.MWMediaEditDialog.static.surfaceCommands = [
|
||||
|
|
|
@ -39,7 +39,7 @@ ve.ui.MWReferenceDialog.static.toolbarGroups = [
|
|||
{ 'include': [ 'undo', 'redo' ] },
|
||||
{ 'include': [ 'bold', 'italic', 'link', 'clear' ] },
|
||||
{ 'include': [ 'number', 'bullet', 'outdent', 'indent' ] },
|
||||
{ 'include': '*', 'exclude': [ 'reference', 'referenceList' ] }
|
||||
{ 'include': '*', 'exclude': [ { 'group': 'format' }, 'reference', 'referenceList' ] }
|
||||
];
|
||||
|
||||
ve.ui.MWReferenceDialog.static.surfaceCommands = [
|
||||
|
|
Loading…
Reference in a new issue