mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Edit check: fix an error when drawing selections"
This commit is contained in:
commit
6c4b4ec7d4
|
@ -213,7 +213,7 @@ if ( mw.config.get( 'wgVisualEditorConfig' ).editCheck || mw.editcheck.ecenable
|
|||
// TODO: Make selections clickable when multicheck is enabled
|
||||
surfaceView.getSelectionManager().drawSelections(
|
||||
'editCheck',
|
||||
checks.map( ( check ) => ve.ce.Selection.static.newFromModel( check.highlight.getSelection(), surfaceView ) )
|
||||
selections
|
||||
);
|
||||
surfaceView.setReviewMode( true, highlightNodes );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue