From b8e2bfe0517823d97f088491e71090ea227f43c6 Mon Sep 17 00:00:00 2001 From: David Chan Date: Sun, 6 Jun 2021 20:34:28 +0800 Subject: [PATCH] Don't show toolbar in MWLanguageVariantInspector text targets Bug: T284402 Depends-On: Idc8d2ffdae3f1168813fcb89ce5ca20bd835f9ab Change-Id: I9316d77218b81ed47f99293ed70fe02c32edb96e --- modules/ve-mw/ui/inspectors/ve.ui.MWLanguageVariantInspector.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ve-mw/ui/inspectors/ve.ui.MWLanguageVariantInspector.js b/modules/ve-mw/ui/inspectors/ve.ui.MWLanguageVariantInspector.js index 7abb864c44..794e9a2778 100644 --- a/modules/ve-mw/ui/inspectors/ve.ui.MWLanguageVariantInspector.js +++ b/modules/ve-mw/ui/inspectors/ve.ui.MWLanguageVariantInspector.js @@ -127,6 +127,7 @@ ve.ui.MWLanguageVariantInspector.prototype.getContentFromInspector = null; */ ve.ui.MWLanguageVariantInspector.prototype.createTextTarget = function ( placeholder ) { return ve.init.target.createTargetWidget( { + toolbarGroups: [], includeCommands: this.constructor.static.includeCommands, excludeCommands: this.constructor.static.excludeCommands, importRules: this.constructor.static.getImportRules(),