CsrfToken elfinder ckEditor in Laravel 5.2
<p>My problem is that when uploading files the following error is displayed. How do I solve this problem?</p>

<p>this my code in template:</p>

<pre><code>&lt;script src="/vendor/unisharp/laravel-ckeditor/ckeditor.js"&gt;&lt;/script&gt;
                    &lt;script src="/vendor/unisharp/laravel-ckeditor/adapters/jquery.js"&gt;&lt;/script&gt;
                    &lt;textarea name="content" class="form-control my-editor"&gt;&lt;/textarea&gt;
                    &lt;script&gt;
                        $('textarea.my-editor').ckeditor({
                            filebrowserImageBrowseUrl: '{!! route('elfinder.ckeditor') !!}',
                        });
                    &lt;/script&gt;
</code></pre>

<p><a href="https://i.stack.imgur.com/qW2hb.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qW2hb.jpg" alt="enter image description here"></a></p>

<p>I do not know why, although again there are tokens operation can not be performed and the amount of error shows</p>

<p>ckeditor file :</p>

<pre><code>$().ready(function() {
        var elf = $('#elfinder').elfinder({
// set your elFinder options here
            &lt;?php if($locale){ ?&gt;
            lang: '&lt;?= $locale ?&gt;', // locale
            &lt;?php } ?&gt;
            &lt;?php if($csrf){ ?&gt;
            data: { _token: '&lt;?php echo csrf_field(); ?&gt;' },
            &lt;?php } ?&gt;
            url: '&lt;?= route('elfinder.connector') ?&gt;', // connector URL
            getFileCallback : function(file) {
                window.opener.CKEDITOR.tools.callFunction(funcNum,              file.url);
                window.close();
            }
        }).elfinder('instance');
    });
</code></pre>

<p>this not work :(</p>