VE: Register sequence with CommandHelp

Depends on I65e2bfc2 in VE-MW

Change-Id: I8f71b1b242cb5c273c6d4a16bdfef6bf1e0adb55
This commit is contained in:
Ed Sanders 2015-11-05 10:12:38 +00:00
parent 7700840b35
commit 17168f573b
1 changed files with 5 additions and 0 deletions

View File

@ -39,3 +39,8 @@ ve.ui.commandRegistry.register(
ve.ui.sequenceRegistry.register(
new ve.ui.Sequence( 'wikitextMath', 'math', '<math', 5 )
);
ve.ui.commandHelpRegistry.register( 'insert', 'math', {
sequences: [ 'wikitextMath' ],
label: OO.ui.deferMsg( 'math-visualeditor-mwmathinspector-title' )
} );