backpack / tinymce-field
TinyMCE field for Backpack
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Language:Blade
Requires
- backpack/crud: ^6.0
README
// TODO: Badge - Latest Version on Packagist
// TODO: Badge - Total Downloads
A field type for Laravel Backpack that uses the TinyMCE WYSIWYG editor.
// TODO: screenshot
Install
To install this package via Composer, run this command:
composer require backpack/tinymce-field
Usage
In your CrudController, use the tinymce
field type:
CRUD::field([ // TinyMCE 'name' => 'description', 'label' => 'Description', 'type' => 'tinymce', // optional overwrite of the configuration array // 'options' => [ //'selector' => 'textarea.tinymce', //'skin' => 'dick-light', //'plugins' => 'image link media anchor' // ], ]);
NOTE: if you want to modify the toolbar buttons (add or remove), here is the default configured toolbar so you can modify it:
'options' => ['toolbar' => 'undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | outdent indent'],
Some buttons are related to specific plugins and need them to work, please read more about it here: tiny mce available toolbar buttons
Security
If you discover any security related issues, please email tabacitu@backpackforlaravel.com instead of using the issue tracker.
Please subscribe to the Backpack Newsletter so you can find out about any security updates, breaking changes or major features. We send an email every 1-2 months.
License
TinyMCE is released under the GPL license. Please see the TinyMCE licensing page for more information. Means that if you use TinyMCE in your project, and you distribute that project, you need to make the source code of your project available under a GPL-compatible license or purchase a commercial TinyMCE license.