CKEditor, Using CKEditor in Laravel Project - 05

Next step is to view the CKEditor on the screen, that is to say, for example, this field, which is the one we are going to require, which is the one that should have rich content. We are going to convert it little by little. I think we will do that in the next video to the CKEditor field. So, once all this is done, everything is going well. Now, we are going to open the blade where we will place the editor:

<textarea class='form-control !hidden content' name="content">{{ old('content', $post->content) }}</textarea>

<div id="editor">
    {!! old('content', $post->content) !!}
</div>

***
@vite(['resources/css/ckeditor.css', 'resources/js/ckeditor.js'])

If we want to use CKEditor we have to import it, you can import it at the layout level but I am going to place it here which is where I am going to use it. So at the end of everything, which is what is recommended here, we are going to use.

I agree to receive announcements of interest about this Blog.

We are going to embed the CKEditor as part of the form so that the post content is now rich/html.

- Andrés Cruz

En español

This material is part of my complete course and book; You can purchase them from the books and/or courses section, Curso y Libro Laravel 12 con Tailwind Vue 3, introducción a Jetstream Livewire e Inerta desde cero - 2025.

) )