Replace TextInputWidget (multiline) with MultilineTextInputWidget

Bug: T170275
Change-Id: I88a4dabbd2894a9ddacc55e8fcdedb141480be2b
This commit is contained in:
Prateek Saxena 2017-07-12 13:57:57 +05:30
parent 8db547d517
commit a66c36750c

View file

@ -117,9 +117,8 @@
( mw.user.isAnon() ? htmlClasses : wikitextClasses ).push( 'active' );
this.embedTextHtml = new oo.ui.TextInputWidget( {
this.embedTextHtml = new oo.ui.MultilineTextInputWidget( {
classes: htmlClasses,
multiline: true,
readOnly: true
} );
@ -130,9 +129,8 @@
mw.mmv.actionLogger.log( 'embed-html-copied' );
} );
this.embedTextWikitext = new oo.ui.TextInputWidget( {
this.embedTextWikitext = new oo.ui.MultilineTextInputWidget( {
classes: wikitextClasses,
multiline: true,
readOnly: true
} );