In the app.blade.php file I have added:
<script src="../vendor/unisharp/laravel-ckeditor/ckeditor.js"></script>
<script>
CKEDITOR.replace( 'article-ckeditor' );
</script>
And then in the create.blade.php file:
{{Form::textarea('body','',['id'=>'article-ckeditor',
'class'=>'form-control',
'placeholder'=>'Body Text'])
}}
In the edit.blade.php file:
{{Form::textarea('body', $post->body,['id'=> 'article-ckeditor',
'class'=>'form-control',
'placeholder'=>'Body Text'])
}}
CKeditor shows on create a page but missing on the edit page.
My question is, what else I must write down in the Laravel, that the CKeditor will be visible on edit page?