mohamedsabil83 / filament-rich-editor-extra
A set of extra extensions for Filament RichEditor
Fund package maintenance!
MohamedSabil83
paypal.me/technolizer
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/mohamedsabil83/filament-rich-editor-extra
Requires
- filament/forms: ^4.0
- spatie/laravel-package-tools: ^1.16
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.14
- nunomaduro/collision: ^8.8
- orchestra/testbench: ^10.0.0||^9.0.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- spatie/laravel-ray: ^1.35
README
Extra goodies for the Filament Forms RichEditor (v4). This package ships small, focused extensions that plug straight into your existing editor.
Currently included:
- Text direction (LTR / RTL).
- More to come...
Requirements
Package Version | PHP Version | Laravel Version | Filament Forms Version |
---|---|---|---|
1.x | 8.2+ | 11+ | 4.x |
Installation
You can install the package via composer:
composer require mohamedsabil83/filament-rich-editor-extra
Then run the package installer:
php artisan filament-rich-editor-extra:install
Usage
Once installed, all tools will be available for all RichEditor instances. The plugin registers itself automatically, so no additional configuration is required.
Text Direction
You’ll see two new toolbar buttons: LTR and RTL.
Example:
use Filament\Forms\Components\RichEditor; RichEditor::make('content') ->label('Content') ->toolbarButtons([ 'rtl', 'ltr', ]);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.