TinyMce plugin for Little Admin.
Coming soon
You can install the package via composer:
composer require webplusmultimedia/la-tiny-editorPublish the assets:
php artisan vendor:publish --tag=la-tiny-editor-assetsPublish 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',
],
...
]
];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(),
]);
}composer testPlease 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.
