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 48fe35e commit 97e7fd1Copy full SHA for 97e7fd1
app/code/Magento/Catalog/view/adminhtml/templates/catalog/wysiwyg/js.phtml
@@ -75,7 +75,7 @@ var catalogWysiwygEditor = {
75
;
76
77
if ($firedElement.length) {
78
- wysiwygObj = eval('wysiwyg' + firedElementId + '_editor');
+ wysiwygObj = window['wysiwyg' + firedElementId + '_editor'];
79
wysiwygObj.turnOff();
80
if (tinyMCE.get(wysiwygObj.id)) {
81
$firedElement.val(tinyMCE.get(wysiwygObj.id).getContent()).change();
0 commit comments