pranabkalita / blade-ckeditor
Ckeditor 5 for Laravel
Package info
github.com/pranabkalita/blade-ckeditor
Language:CSS
pkg:composer/pranabkalita/blade-ckeditor
v1.0.0
2023-09-20 07:16 UTC
This package is auto-updated.
Last update: 2026-04-20 15:35:23 UTC
README
This is a Livewire component which allows to add basic CkEditor 5 integration to your Laravel app.
Requirements
- PHP >= 8.2
- Laravel >= 9
- Livewire >= 2
- AlpineJs >= 2
Steps
- Install package:
composer require pranabkalita/blade-ckeditor - Publish Assets:
php artisan vendor:publish --tag=blade-ckeditor - Add the following directives in you layout file
<head> ... @ckeditorStyles </head> <body> ... @alpineJs // Not required for Livewire >= 3 @ckeditorScripts </body>
- In your blade file:
<x-blade-ckeditor wire:model="body" /> - For edit purpose you must provide the initialContent props like below
<x-ckeditor wire:model="body" :initialContent="$body" />
Roadmaps
Since this is new package. No custom options are available yet. Will be working on it and pushing out regular updates with new features.
- Get rid of :initialContent and make it work with
wire:modeiteself. - Use the ability to select the editor version i.e
WYSIWYGorMarkdown.