TinyMCE Image Upload with Laravel, without File Manager

I am using TinyMCE as rich-text editor and when I click on image/video buttons, I want to upload it on server, which is Laravel. All the guides online shows using a file manager, however I don't want to use a File Manager in between. I want user to directly upload the image (using ajax?) and so that the image gets imported in the editor without page refresh.

I got confused where to start. Is there a way to directly uploading the image so that the user can instantly use the image/video in the editor? If so, what is the way to achieve that?


ANSWERS:


Checkout justboilme on justboil.me, that's the best I know for including images in tinymce


use tinyMCE.get('editor1').getContent(); to get the content of the tinymce plugin So your script could be something like this Where editor1 is the id of your textarea where you initialized tinymce on

<script>
    var tinymce_content = tinyMCE.get('editor1').getContent()
    $.post('your_post_url',
    {
        content: tinymce_content
    },
    function(data)
    {
        //what to do when request is complete
    })
</script>


 MORE:


 ? Laravel file manager illegal offset type
 ? Laravel file manager illegal offset type
 ? Laravel file manager illegal offset type
 ? Laravel 5 helper function asset different domains
 ? Change .htaccess file in laravel 4
 ? Implementing TinyMCE and JQuery in laravel 4.1?
 ? Laravel routing not working on MAMP
 ? Call methods inside public folder - Laravel
 ? Insert text into repeated tinyMCE elements
 ? Laravel 5.1 and tinyMCE