mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-02 18:06:16 +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
|
// Link
|
||||||
{ include: [ 'back' ] },
|
{ include: [ 'back' ] },
|
||||||
// Style
|
// 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
|
// Link
|
||||||
{ include: [ 'link' ] },
|
{ include: [ 'link' ] },
|
||||||
// Cite
|
// Cite
|
||||||
|
|
Loading…
Reference in a new issue