summernote-ext-elfinder icon indicating copy to clipboard operation
summernote-ext-elfinder copied to clipboard

Upload broken due to laravel CSRF

Open codewise-nicolas opened this issue 2 years ago • 0 comments

For anyone still trying to use this code with newer laravel you will find upload fails with 419 error due to missing CSRF token. Add this to your dialogelfinder()

customData: { 
                    _token: '<?php echo  csrf_token() ?>'
                },

Copy over from Stackoverflow solution for ckeditor

codewise-nicolas avatar Jul 14 '22 08:07 codewise-nicolas