Skip to content

Commit 4c9166f

Browse files
author
Hwashiang Yu
committed
MC-4323: Cannot Add Slider WYSIWYG Image From Gallery or Link to Image in Gallery After Page Has Been Saved
- Fixed editor callback to use the global editor
1 parent c2ae024 commit 4c9166f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ define([
117117
jQuery.when.apply(jQuery, deferreds).done(function () {
118118
tinyMCE4.init(settings);
119119
this.getPluginButtons().hide();
120-
this.eventBus.attachEventHandler('open_browser_callback', this.openFileBrowser);
120+
this.eventBus.attachEventHandler('open_browser_callback', tinyMceEditors.get(self.id).openFileBrowser);
121121
}.bind(this));
122122
},
123123

0 commit comments

Comments
 (0)