Skip to content

Commit

Permalink
MAGETWO-57796: [GitHub] Inserted image in product description got bro…
Browse files Browse the repository at this point in the history
…ken on front end magento#6138
  • Loading branch information
shiftedreality committed Oct 12, 2016
1 parent a657749 commit e3d67ea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
use Magento\Backend\Block\Widget\Form;
use Magento\Backend\Block\Widget\Form\Generic;

/**
* Class Content
*
* @deprecated
* @see \Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Eav
*/
class Content extends Generic
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,10 @@ private function customizeWysiwyg(ProductAttributeInterface $attribute, array $m
$meta['arguments']['data']['config']['wysiwyg'] = true;
$meta['arguments']['data']['config']['wysiwygConfigData'] = [
'add_variables' => false,
'add_widgets' => false
'add_widgets' => false,
'add_directives' => true,
'use_container' => true,
'container_class' => 'hor-scroll',
];

return $meta;
Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Cms/Model/Wysiwyg/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ public function getConfig($data = [])
'width' => '100%',
'height' => '500px',
'plugins' => [],
'add_directives' => true,
]
);

Expand Down

0 comments on commit e3d67ea

Please sign in to comment.