mjawad096 / laravel-grapesjs

This package provide an esay way to integrate GrapesJS into your laravel proejct.
MIT License
108 stars 54 forks source link

Correct settings for uploading images #28

Closed insssomniac closed 2 years ago

insssomniac commented 2 years ago

Hi JD,

Currently when i'm trying to add standard image element and upload image, it opens file upload dialog, but after I choose file, nothing happens.

Here is my 'assets' block in the config/laravel-grapesjs.php:

'assets' => [
        'disk' => 'public', //Default: local
        'path' => 'images/media', //Default: 'laravel-grapesjs/media',
        'upload_url' => null
    ],

What do i need to do to get the upload images functionality working properly?

insssomniac commented 2 years ago

looks it is the same what was in "csrf token mismatch #25" issue