Im trying to use the tinymce to upload files, but i cannot get access to any files on my system. Once i click the search system button, nothing pops up. Is there somehting im missing?
<TinyMCE
content="<p>This is the initial content of the editor</p>"
config={{
height:600,
paste_data_images: true,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace wordcount visualblocks code fullscreen',
'insertdatetime media table contextmenu paste code'
],
toolbar: 'undo redo | bold italic | alignleft aligncenter alignright | code',
file_picker_types: 'file image media',
paste_data_images:true,
file_browser_callback_types: 'image',
selector: 'textarea', // change this value according to your HTML
file_picker_callback: function(callback, value, meta) {
if (meta.filetype == 'file') {
//callback('mypage.html', {text: 'My text'});
}
if (meta.filetype == 'image') {
}
if (meta.filetype == 'media') {
//callback('movie.mp4', {source2: 'alt.ogg', poster: 'image.jpg'});
}
}
}}
onChange={this.handleEditorChange}
/>
Im trying to use the tinymce to upload files, but i cannot get access to any files on my system. Once i click the search system button, nothing pops up. Is there somehting im missing?