kahusoftware / filament-ckeditor-field
A basic CKEditor 5 form field configured with non-premium features.
Installs: 65
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- php: ^8.1
- filament/forms: ^3.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- nunomaduro/collision: ^7.9
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.1
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
This package is auto-updated.
Last update: 2025-01-07 12:45:58 UTC
README
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.
Installation
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, ];
Usage
use Kahusoftware\FilamentCkeditorField\CKEditor; CKEditor::make('content') ->uploadUrl(null)
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please email hello@kahusoftware.com any security vulnerabilities to ensure they're promptly addressed.
Credits
License
The MIT License (MIT). Please see License File for more information.