I have a problem with insert image popup. The popup opens, but I can't see the browse button so I can't upload an image from frontend. What can be the problem?
On phtml i have used below jquery to open tinymce popup.
require([
'jquery',
'mage/adminhtml/wysiwyg/tiny_mce/setup'
], function (jQuery) {
var config = {},
editor;
jQuery.extend(config, {
settings: {
theme: 'advanced',
theme_advanced_buttons1: 'bold,italic,|,justifyleft,justifycenter,justifyright,|,' +
'fontselect,fontsizeselect,|,forecolor,backcolor,|,link,unlink,image,|,bullist,numlist,|,code',
theme_advanced_buttons2: null,
theme_advanced_buttons3: null,
theme_advanced_buttons4: null
}
});
editor = new tinyMceWysiwygSetup(
'short_description',
config
);
editor.turnOn();
jQuery('#short_description')
.addClass('wysiwyg-editor')
.data(
'wysiwygEditor',
editor
);
});