Merge "VE: Register sequence with CommandHelp"
This commit is contained in:
commit
fabdb488b5
|
@ -39,3 +39,8 @@ ve.ui.commandRegistry.register(
|
||||||
ve.ui.sequenceRegistry.register(
|
ve.ui.sequenceRegistry.register(
|
||||||
new ve.ui.Sequence( 'wikitextMath', 'math', '<math', 5 )
|
new ve.ui.Sequence( 'wikitextMath', 'math', '<math', 5 )
|
||||||
);
|
);
|
||||||
|
|
||||||
|
ve.ui.commandHelpRegistry.register( 'insert', 'math', {
|
||||||
|
sequences: [ 'wikitextMath' ],
|
||||||
|
label: OO.ui.deferMsg( 'math-visualeditor-mwmathinspector-title' )
|
||||||
|
} );
|
||||||
|
|
Loading…
Reference in New Issue