Toolbar: Add tooltips to structure and insert groups

Bug: T131133
Change-Id: I927bf6f0d1de74b4ac8d16c3b5ce27720db322d4
This commit is contained in:
Ed Sanders 2016-03-29 12:05:06 +01:00
parent d4d1f10b95
commit 1d8d1c2a64

View file

@ -67,6 +67,7 @@ ve.init.mw.Target.static.toolbarGroups = [
type: 'list',
icon: 'listBullet',
indicator: 'down',
title: OO.ui.deferMsg( 'visualeditor-toolbar-structure' ),
include: [ { group: 'structure' } ],
demote: [ 'outdent', 'indent' ]
},
@ -75,6 +76,7 @@ ve.init.mw.Target.static.toolbarGroups = [
classes: [ 've-test-toolbar-insert' ],
label: OO.ui.deferMsg( 'visualeditor-toolbar-insert' ),
indicator: 'down',
title: OO.ui.deferMsg( 'visualeditor-toolbar-insert' ),
include: '*',
forceExpand: [ 'media', 'transclusion', 'insertTable' ],
promote: [ 'media', 'transclusion', 'insertTable' ]