I'm having trouble fetching the contents of a file input using CKEditor.
I have already tested using getlementById
and everything else, but as the upload popup is created after the page DOM does not work.
I also tested this way without success:
var element = CKEDITOR.document.getById( 'cke_145_fileInput_input' );