mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Merge "Make visual diffs the default in visual mode"
This commit is contained in:
commit
d7d026425c
|
@ -749,9 +749,8 @@ ve.ui.MWSaveDialog.prototype.getSetupProcess = function ( data ) {
|
|||
// Config values used here:
|
||||
// * visualeditor-diffmode-visual
|
||||
// * visualeditor-diffmode-source
|
||||
// TODO: Make 'visual' the default for visual mode (T178248)
|
||||
this.reviewModeButtonSelect.selectItemByData(
|
||||
ve.userConfig( 'visualeditor-diffmode-' + surfaceMode ) || 'source'
|
||||
ve.userConfig( 'visualeditor-diffmode-' + surfaceMode ) || surfaceMode
|
||||
);
|
||||
|
||||
// Old messages should not persist
|
||||
|
|
Loading…
Reference in a new issue