mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +00:00
Merge "Add big/small support to NWE"
This commit is contained in:
commit
eafbe8cf8c
|
@ -120,6 +120,18 @@ ve.ui.wikitextCommandRegistry.register(
|
|||
{ args: [ '<sup>', '</sup>', OO.ui.deferMsg( 'visualeditor-annotationbutton-superscript-tooltip' ) ], supportedSelections: [ 'linear' ] }
|
||||
)
|
||||
);
|
||||
ve.ui.wikitextCommandRegistry.register(
|
||||
new ve.ui.Command(
|
||||
'big', 'mwWikitext', 'toggleWrapSelection',
|
||||
{ args: [ '<big>', '</big>', OO.ui.deferMsg( 'visualeditor-annotationbutton-big-tooltip' ) ], supportedSelections: [ 'linear' ] }
|
||||
)
|
||||
);
|
||||
ve.ui.wikitextCommandRegistry.register(
|
||||
new ve.ui.Command(
|
||||
'small', 'mwWikitext', 'toggleWrapSelection',
|
||||
{ args: [ '<small>', '</small>', OO.ui.deferMsg( 'visualeditor-annotationbutton-small-tooltip' ) ], supportedSelections: [ 'linear' ] }
|
||||
)
|
||||
);
|
||||
|
||||
( function () {
|
||||
var i, heading = '';
|
||||
|
|
Loading…
Reference in a new issue