Skip to content

Commit

Permalink
MAGETWO-72192: Added ability to set 'rows' property for wysiwyg eleme…
Browse files Browse the repository at this point in the history
…nts. #10732
  • Loading branch information
ishakhsuvarov authored Aug 31, 2017
2 parents 2808f2d + d2a29a4 commit 67a378e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Ui/Component/Form/Element/Wysiwyg.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct(
\Magento\Framework\Data\Form\Element\Editor::class,
[
'force_load' => true,
'rows' => 20,
'rows' => isset($config['rows']) ? $config['rows'] : 20,
'name' => $data['name'],
'config' => $wysiwygConfig->getConfig($wysiwygConfigData),
'wysiwyg' => isset($config['wysiwyg']) ? $config['wysiwyg'] : null,
Expand Down

0 comments on commit 67a378e

Please sign in to comment.