mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Remove maxLength from new section title in NWE
MediaWiki doesn't have such a limitation. This might have been copied from the edit summary code, which used to be limited to 255 bytes. Change-Id: I4afe9b1cde0663c47c0c2502b6e32116b912208b
This commit is contained in:
parent
e46f4aa644
commit
c49f919d90
|
@ -507,7 +507,6 @@ ve.init.mw.DesktopArticleTarget.prototype.setupNewSection = function ( surface )
|
|||
this.sectionTitle = new OO.ui.TextInputWidget( {
|
||||
$element: $( '<h2>' ),
|
||||
classes: [ 've-ui-init-desktopArticleTarget-sectionTitle' ],
|
||||
maxLength: 255,
|
||||
placeholder: ve.msg( 'visualeditor-section-title-placeholder' ),
|
||||
spellcheck: true
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue