mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-30 19:16:39 +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' );
|
ve.ui.commandHelpRegistry.unregister( 'heading2' );
|
||||||
|
|
||||||
|
// horizontal rule
|
||||||
|
sequenceRegistry.register(
|
||||||
|
new ve.ui.Sequence( 'horizontalRule', 'mwWikitextWarning', [ { type: 'paragraph' }, '-', '-', '-', '-' ] )
|
||||||
|
);
|
||||||
|
ve.ui.commandHelpRegistry.unregister( 'horizontalRule' );
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
commandRegistry: commandRegistry,
|
commandRegistry: commandRegistry,
|
||||||
sequenceRegistry: sequenceRegistry,
|
sequenceRegistry: sequenceRegistry,
|
||||||
|
|
Loading…
Reference in a new issue