mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Hide structure tools in MWReferences
Technically these are possible to render (although there's currently a Parsoid bug preventing it) but really references should just contain one single paragraph. Change-Id: I405d75a0935d3f4610e10b942b48fa0fa2679a20
This commit is contained in:
parent
1e6daf1ee6
commit
d7e9564d22
|
@ -57,17 +57,17 @@ ve.ui.MWReferenceDialog.static.toolbarGroups = [
|
|||
},
|
||||
// Link
|
||||
{ 'include': [ 'link' ] },
|
||||
// Structure
|
||||
{
|
||||
// No structure
|
||||
/* {
|
||||
'type': 'bar',
|
||||
'include': [ 'number', 'bullet', 'outdent', 'indent' ]
|
||||
},
|
||||
},*/
|
||||
// Insert
|
||||
{
|
||||
'label': 'visualeditor-toolbar-insert',
|
||||
'indicator': 'down',
|
||||
'include': '*',
|
||||
'exclude': [ { 'group': 'format' }, 'reference', 'referenceList' ],
|
||||
'exclude': [ { 'group': 'format' }, { 'group': 'structure' }, 'reference', 'referenceList' ],
|
||||
'demote': [ 'specialcharacter' ]
|
||||
}
|
||||
];
|
||||
|
@ -82,8 +82,6 @@ ve.ui.MWReferenceDialog.static.surfaceCommands = [
|
|||
'underline',
|
||||
'subscript',
|
||||
'superscript',
|
||||
'indent',
|
||||
'outdent',
|
||||
'pasteSpecial'
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue