How to Use Summernote Editor in Laravel?
https://www.itsolutionstuff.com/post/how-to-use-summernote-editor-in-laravelexample.html
PreviousHow to Use Bootstrap WYSIHTML5 Editor in Laravel?NextHow to Install and Use CKEditor in Laravel?
Last updated
https://www.itsolutionstuff.com/post/how-to-use-summernote-editor-in-laravelexample.html
Last updated
<html><head> <title>How to Use Summernote WYSIWYG Editor with Laravel? - ItSolutionStuff.com</title> <script src="https://code.jquery.com/jquery-3.5.1.min.js" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script> <link href="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote-bs4.min.css" rel="stylesheet"> <script src="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote-bs4.min.js"></script></head><body> <div class="container"> <div class="row"> <div class="col-md-8 offset-2 mt-5"> <div class="card"> <div class="card-header bg-info"> <h6 class="text-white">How to Use Summernote WYSIWYG Editor with Laravel? - ItSolutionStuff.com</h6> </div> <div class="card-body"> <form method="post" action="" enctype="multipart/form-data"> @csrf <div class="form-group"> <label>Name</label> <input type="text" name="name" class="form-control"/> </div> <div class="form-group"> <label><strong>Description :</strong></label> <textarea class="summernote" name="description"></textarea> </div> <div class="form-group text-center"> <button type="submit" class="btn btn-success btn-sm">Save</button> </div> </form> </div> </div> </div> </div> </div> <script type="text/javascript"> $(document).ready(function() { $('.summernote').summernote(); }); </script></body></html>{!! $post->description !!}