mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-30 17:14:42 +00:00
MobileArticleTarget: Collapse text style buttons
B/I doesn't fit with link & cite on a iPhone 6 Change-Id: Ib23b2f8540425ee5d8265f369aea250e900a0c5f
This commit is contained in:
parent
2c7a42fff9
commit
08a9551c84
|
@ -46,7 +46,17 @@ ve.init.mw.MobileArticleTarget.static.toolbarGroups = [
|
|||
// Link
|
||||
{ include: [ 'back' ] },
|
||||
// Style
|
||||
{ include: [ 'bold', 'italic' ] },
|
||||
{
|
||||
classes: [ 've-test-toolbar-style' ],
|
||||
type: 'list',
|
||||
icon: 'textStyle',
|
||||
indicator: 'down',
|
||||
title: OO.ui.deferMsg( 'visualeditor-toolbar-style-tooltip' ),
|
||||
include: [ { group: 'textStyle' }, 'language', 'clear' ],
|
||||
forceExpand: [ 'bold', 'italic', 'clear' ],
|
||||
promote: [ 'bold', 'italic' ],
|
||||
demote: [ 'strikethrough', 'code', 'underline', 'language', 'clear' ]
|
||||
},
|
||||
// Link
|
||||
{ include: [ 'link' ] },
|
||||
// Cite
|
||||
|
|
Loading…
Reference in a new issue