Add missing 'undo' button on mobile

Bug: T308033
Change-Id: If3126cb213fb4a22a419b9b85fdca32b20863f03
This commit is contained in:
Ed Sanders 2022-05-11 17:37:08 +01:00
parent 7fd82831d4
commit b76cf89b9b

View file

@ -33,6 +33,10 @@ CommentTarget.static.modes = [ 'visual', 'source' ];
if ( OO.ui.isMobile() ) {
// Mobile currently expects one tool per group
CommentTarget.static.toolbarGroups = [
{
name: 'history',
include: [ 'undo' ]
},
{
name: 'style',
classes: [ 've-test-toolbar-style' ],