Disable find-and-replace

Bug: T263570
Change-Id: I075c1696f179eed2e0143c12082cee048c200227
This commit is contained in:
Ed Sanders 2020-09-25 15:17:15 +01:00
parent 6f59891196
commit 6790e5c41c

View file

@ -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' );