mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 08:23:52 +00:00
Merge "Disallow horizontal rule (----) in reply tool"
This commit is contained in:
commit
cccce3886e
|
@ -85,6 +85,12 @@ sequenceRegistry.register(
|
|||
);
|
||||
ve.ui.commandHelpRegistry.unregister( 'heading2' );
|
||||
|
||||
// horizontal rule
|
||||
sequenceRegistry.register(
|
||||
new ve.ui.Sequence( 'horizontalRule', 'mwWikitextWarning', [ { type: 'paragraph' }, '-', '-', '-', '-' ] )
|
||||
);
|
||||
ve.ui.commandHelpRegistry.unregister( 'horizontalRule' );
|
||||
|
||||
module.exports = {
|
||||
commandRegistry: commandRegistry,
|
||||
sequenceRegistry: sequenceRegistry,
|
||||
|
|
Loading…
Reference in a new issue