Skip to content

Commit af40b72

Browse files
committed
AC-12726::[2.4.8-beta1] TinyMCE 5 migration to TinyMCE 7
1 parent 09fdd1f commit af40b72

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/web/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentovariable/editor_plugin.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ define([
8383
* @returns {String}
8484
*/
8585
decodeVariables: function (content) {
86-
var doc = new DOMParser().parseFromString(content.replace(/"/g, '"'), 'text/html'),
86+
var doc = new DOMParser().parseFromString(content.replace(/"/g, '"'),
87+
'text/html'),
8788
returnval = '';
8889

8990
[].forEach.call(doc.querySelectorAll('span.magento-variable'), function (el) {

lib/web/mage/adminhtml/wysiwyg/tiny_mce/plugins/magentowidget/editor_plugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ define([
254254
wysiwyg.closeEditorPopup('widget_window' + wysiwyg.getId());
255255
});
256256
};
257+
257258
// Register plugin
258259
tinymce.PluginManager.add('magentowidget', magentowidget);
259260
};

0 commit comments

Comments
 (0)