In this article, I will explain you how to add ckeditor in laravel, CKEditor is a WYSIWYG rich text editor, in ckeditor we can writing content directly inside of web pages or online applications.
CKEditor provides 200 plus features like add images, create html tables, changes font size and style, add links, add snippet ,code and many more feature. it is opensource editor, and you can create your customize package and download from it's official website.
So, let's see add CKEditor to our application or how to use CKEditor in laravel.
<html>
<head>
<meta charset="utf-8">
<title>How to add CKEditor in laravel - websolutionstuff.com</title>
<script src="https://cdn.ckeditor.com/4.14.0/standard/ckeditor.js"></script>
</head>
<body>
<div class="row">
<div class="col-md-12">
<h1 style="text-align: center;">How to add CKEditor in laravel - websolutionstuff.com</h1>
<div class="col-md-12">
<textarea name="editor1"></textarea>
</div>
</div>
</div>
<script>
CKEDITOR.replace( 'editor1',{
height:300,
});
</script>
</body>
</html>
You need to add ckeditor's js file and a script and you will find output like the below screenprint.
You might also like:
In this article, we will see the laravel 9 livewire file upload example. Here, we will learn how to upload files us...
Dec-02-2022
In this article, we will see how to install tailwind CSS in laravel 9. Tailwind CSS works by scanning all of y...
Jun-13-2022
Do you want to learn how to change text in a Laravel 9 Datatable? This blog post is your complete guide to mastering tex...
Jan-06-2023
In this example, I will show you how to implement/install data tables in laravel. Datatables provides users with many fu...
May-16-2020