We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3443c7 commit 1492fcaCopy full SHA for 1492fca
lib/internal/Magento/Framework/Data/Form/Element/Editor.php
@@ -309,9 +309,11 @@ protected function _getPluginButtonsHtml($visible = true)
309
$configStyle = '';
310
if (isset($buttonOptions['style'])) {
311
$configStyle = $buttonOptions['style'];
312
- }
+ }
313
+ // phpcs:disable Magento2.Performance.ForeachArrayMerge
314
$buttonOptions = array_merge($buttonOptions, ['style' => 'display:none;' . $configStyle]);
315
+ // phpcs:enable
316
317
$buttonsHtml .= $this->_getButtonHtml($buttonOptions);
318
}
319
0 commit comments