2b3ez / FileManager4TinyMCE

Plugin for manage and upload file for TinyMCE 4
151 stars 74 forks source link

Cannot select file once uploaded #56

Open Gijsbos opened 6 years ago

Gijsbos commented 6 years ago

Hi there, I was looking for a file picker and uploader and then I came across this FileManager which is awesome so far. But, everything works fine, uploading, thumbnails et cetera, but I assumed clicking on the thumbnail in the File Manager would close the File Manager window and insert the image in the tinyMCE (v4.x) content editor. Nothing happens, is this normal? Or am I doing something wrong.

EDIT: type is set to 1 and file_id not set but in: if (external=="") { var target = windowparent.document.getElementsByClassName('mce-img'+track); var closed = window_parent.document.getElementsByClassName('mce-filemanager'); $(target).val(base_url+path+file); $(closed).find('.mce-close').trigger('click'); }

This does not work ->> $(target).val(base_url+path+file);

Cheers!

trippo commented 6 years ago

Please use responsivefilemanager.com

Il giorno 19 giu 2018, alle ore 13:34, Gijs Bos notifications@github.com ha scritto:

Hi there, I was looking for a file picker and uploader and then I came across this FileManager which is awesome so far. But, everything works fine, uploading, thumbnails et cetera, but I assumed clicking on the thumbnail in the File Manager would close the File Manager window and insert the image in the tinyMCE (v4.x) content editor. Nothing happens, is this normal? Or am I doing something wrong.

Cheers!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/2b3ez/FileManager4TinyMCE/issues/56, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeWERe3m-It3v9ITYPAnxunheZsWvddks5t-OHegaJpZM4UtVev.

Gijsbos commented 6 years ago

@trippo Thanks for the tip, funny thing is, when I keep the website open in Chrome, my macbook starts to heat up like crazy? I never even knew the sound of my fans working but this website nailed it ;-)