Skip to content

Commit 67a378e

Browse files
MAGETWO-72192: Added ability to set 'rows' property for wysiwyg elements. #10732
2 parents 2808f2d + d2a29a4 commit 67a378e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/Component/Form/Element/Wysiwyg.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(
5555
\Magento\Framework\Data\Form\Element\Editor::class,
5656
[
5757
'force_load' => true,
58-
'rows' => 20,
58+
'rows' => isset($config['rows']) ? $config['rows'] : 20,
5959
'name' => $data['name'],
6060
'config' => $wysiwygConfig->getConfig($wysiwygConfigData),
6161
'wysiwyg' => isset($config['wysiwyg']) ? $config['wysiwyg'] : null,

0 commit comments

Comments
 (0)