This repository enables FilamentPHP forms to use CKEditor 5 and its many free features without much configuration.
* This open-source plugin is not affiliated with, endorsed, or sponsored by CKSource, and any references to CKEditor are solely for descriptive purposes under their respective copyrights and trademarks.
We do encourage you to check out CKEditor's premium features for your own implementation of CKEditor as the developers have worked hard to bring us a wonderful rich editor.
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 email hello@kahusoftware.com any security vulnerabilities to ensure they're promptly addressed.
The MIT License (MIT). Please see License File for more information.