mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
Merge "ArticleTarget: Make save commands triggerable from anywhere"
This commit is contained in:
commit
779dcc2164
|
@ -196,6 +196,18 @@ ve.init.mw.ArticleTarget.static.integrationType = 'page';
|
|||
*/
|
||||
ve.init.mw.ArticleTarget.static.platformType = 'other';
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.init.mw.ArticleTarget.static.documentCommands = ve.init.mw.ArticleTarget.super.static.documentCommands.concat( [
|
||||
// Make save commands triggerable from anywhere
|
||||
'showSave',
|
||||
'showChanges',
|
||||
'showPreview',
|
||||
'showMinoredit',
|
||||
'showWatchthis'
|
||||
] );
|
||||
|
||||
/* Methods */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue