This repository enables FilamentPHP forms to use CKEditor 5 and its many free features without much configuration.
You can install the package via composer:
composer require kahusoftware/filament-ckeditor-field
You can publish the config file with:
php artisan vendor:publish --tag="filament-ckeditor-field-config"
This is the contents of the published config file:
return [
/**
* Image upload enabled
*
* WARNING: Setting this to false will use CKEditor's default Base64 upload method which is HIGHLY INEFFICIENT.
* https://ckeditor.com/docs/ckeditor5/latest/features/images/image-upload/image-upload.html#base64-adapter
*/
'upload_enabled' => true,
/**
* Image URL to upload to if one is not specified on the form field's ->uploadUrl() method
*/
'upload_url' => null,
];
use Kahusoftware\FilamentCkeditorField\CKEditor;
CKEditor::make('content')
->uploadUrl(null)
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.