mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Add big/small support to NWE
Change-Id: Id42cb7563d7f6d14d0f225edb8a283c8b9eaa8db
This commit is contained in:
parent
7551b0e788
commit
2ad4015775
|
@ -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