webplusmultimedia / la-tiny-editor
Tiny MCE Editor for Little Admin
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 2
Language:Blade
Requires
- php: ^8.1
- illuminate/contracts: ^10.0
- spatie/laravel-package-tools: ^1.14.0
- webplusmultimedia/little-admin-architect: dev-main
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is auto-updated.
Last update: 2024-11-09 19:51:25 UTC
README
TinyMce plugin for Little Admin.
Support us
Coming soon
Installation
You can install the package via composer:
composer require webplusmultimedia/la-tiny-editor
Publish the assets:
php artisan vendor:publish --tag=la-tiny-editor-assets
Publish the config file with:
php artisan vendor:publish --tag="la-tiny-editor-config"
Then, add some profile to use with tinyMce:
return [ 'profiles' => [ ... 'myconf' => [ 'plugins' => 'autolink link code', 'toolbar' => 'undo redo | bold italic underline | link | removeformat code brbtn', ], ... ] ];
Usage
In the resource file of little Admin
public static function getFormSchema(Form $form): Form { return $form ->schema([ LaTinyEditor::make('extrait') ->nullable() ->profile('myconf') ->required(), LaTinyEditor::make('texte') ->nullable() ->helperText('Texte d\'apprentissage')->required(), ]); }
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.