From 1cb4c273789cd9b719798a1bfb872037a15838e5 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 9 Nov 2016 15:26:44 +0000 Subject: [PATCH] Collapse to end after inserting WT signature Bug: T150320 Change-Id: I06a8304499d92d0155c112449678fef34dc98424 --- modules/ve-mw/ui/ve.ui.MWWikitextCommandRegistry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/ui/ve.ui.MWWikitextCommandRegistry.js b/modules/ve-mw/ui/ve.ui.MWWikitextCommandRegistry.js index f0db48db53..1814a4a7fd 100644 --- a/modules/ve-mw/ui/ve.ui.MWWikitextCommandRegistry.js +++ b/modules/ve-mw/ui/ve.ui.MWWikitextCommandRegistry.js @@ -236,7 +236,7 @@ ve.ui.wikitextCommandRegistry.register( ve.ui.wikitextCommandRegistry.register( new ve.ui.Command( 'mwSignature', 'content', 'insert', { - args: [ '~~~~' ], + args: [ '~~~~', false, true /* collaseToEnd */ ], supportedSelections: [ 'linear' ] } ) );