Skip to content

Commit a71df16

Browse files
committed
Restores backwards compatibility with TinyMCE plugins again (after it broke with introduction of TinyMCE7).
1 parent 4bca5df commit a71df16

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ define([
231231

232232
return content;
233233
});
234+
235+
return this.widget;
234236
};
235237

236238
/**

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ define([
253253
varienGlobalEvents.attachEventHandler('wysiwygClosePopups', function () {
254254
wysiwyg.closeEditorPopup('widget_window' + wysiwyg.getId());
255255
});
256+
257+
return this.widget;
256258
};
257259

258260
// Register plugin

0 commit comments

Comments
 (0)