How to Use Summernote Editor in Laravel?

By Hardik Savani | June 9, 2020 | Category : Laravel

In this post, we will learn laravel summernote editor example. i would like to share with you how to use summernote editor in laravel. I’m going to show you about how to install summernote in laravel. you will learn summernote editor in laravel 6, laravel 7 and laravel 8.

Whenever need to use rich textbox in our laravel application at that time you can use Summernote WYSIWYG editor, Summernote is wide range use and very popular. you can easily use Summernote without using any library here.

Summernote provide to use HTML Element for text content formatting. Summernote provide listing, image upload, link, font style, bold, italic etc. here i will give you simple example that will show you how to add and use Summernote in laravel app.

You can get bellow preview:

Blade File Code:

Let's see simple example blade file code using cdn js file library:



<title>How to Use Summernote WYSIWYG Editor with Laravel? -</title>

<script src="" crossorigin="anonymous"></script>

<script src="[email protected]/dist/umd/popper.min.js"></script>

<link rel="stylesheet" href="">

<script src=""></script>

<link href="[email protected]/dist/summernote-bs4.min.css" rel="stylesheet">

<script src="[email protected]/dist/summernote-bs4.min.js"></script>



<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? -</h6>


<div class="card-body">

<form method="post" action="" enctype="multipart/form-data">


<div class="form-group">


<input type="text" name="name" class="form-control"/>


<div class="form-group">

<label><strong>Description :</strong></label>

<textarea class="summernote" name="description"></textarea>


<div class="form-group text-center">

<button type="submit" class="btn btn-success btn-sm">Save</button>








<script type="text/javascript">

$(document).ready(function() {






Display Content:

after store content of rich textbox then you can display as bellow on listing page.

{!! $post->description !!}

Now you can check your own.

You can also use CKEditor as here: Laravel 7 CKEditor Example.

i hope it can help you...

Hardik Savani
My name is Hardik Savani. I'm a full-stack developer, entrepreneur and owner of Aatman Infotech. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.
Follow Me: Github Twitter
***Do you want me hire for your Project Work? Then Contact US.

We are Recommending you: