mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 02:00:57 +00:00
Disable find-and-replace
Bug: T263570 Change-Id: I075c1696f179eed2e0143c12082cee048c200227
This commit is contained in:
parent
6f59891196
commit
6790e5c41c
|
@ -20,6 +20,11 @@ importRegistry( ve.ui.commandRegistry, commandRegistry );
|
|||
sequenceRegistry = new ve.ui.SequenceRegistry();
|
||||
importRegistry( ve.ui.sequenceRegistry, sequenceRegistry );
|
||||
|
||||
// Disable find-and-replace (T263570)
|
||||
commandRegistry.unregister( 'findAndReplace' );
|
||||
commandRegistry.unregister( 'findNext' );
|
||||
commandRegistry.unregister( 'findPrevious' );
|
||||
|
||||
// Command to insert signature node. Unlike normal VisualEditor, we want to select
|
||||
// the node (collapseToEnd=false), because we want to show its context menu.
|
||||
commandRegistry.unregister( 'mwSignature' );
|
||||
|
|
Loading…
Reference in a new issue