Skip to content

Commit a657749

Browse files
MAGETWO-57796: [GitHub] Inserted image in product description got broken on front end #6138
1 parent c533b3d commit a657749

File tree

2 files changed

+1
-1
lines changed
  • app/code/Magento/Cms/Model/Wysiwyg
  • lib/web/mage/adminhtml/wysiwyg/tiny_mce

2 files changed

+1
-1
lines changed

app/code/Magento/Cms/Model/Wysiwyg/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ public function getConfig($data = [])
180180
'width' => '100%',
181181
'height' => '500px',
182182
'plugins' => [],
183+
'add_directives' => true,
183184
]
184185
);
185186

lib/web/mage/adminhtml/wysiwyg/tiny_mce/setup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,6 @@ define([
393393
}
394394

395395
content = editor.getContent();
396-
content = this.decodeContent(content);
397396

398397
jQuery('#' + this.id).val(content).trigger('change');
399398
},

0 commit comments

Comments
 (0)