Download the PHP package visanduma/nova-image-tinymce without Composer
On this page you can find all versions of the php package visanduma/nova-image-tinymce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download visanduma/nova-image-tinymce
More information about visanduma/nova-image-tinymce
Files in visanduma/nova-image-tinymce
Package nova-image-tinymce
Short Description A Laravel Nova TinyMCE field with built in image gallery support
License MIT
Homepage https://github.com/visanduma/nova-image-tinymce
Informations about the package nova-image-tinymce
Laravel Nova Image TinyMCE Editor field
Nova Image TinyMCE Editor is Laravel Nova field that integrates TinyMCE5 WYSIWYG editor wit inbuilt image gallery.
Installation
Use the composer to install this package.
Usage
Publish config with the following command:
Edit TinyMCE options and image related configrations. add your TinyMCE cloud API key here or to your .env file like this:
Run migration to build image table
Add NovaImageTinymce class and field to your Nova Resource.
Disable image upload feature
Available options
You can pass arguments and TinyMCE options directly from a field to customize your toolbar and plugins, like this:
For available options/plugins visit official TinyMCE 5 documentation.
Customizing image handler
The default image handler is inbuilt one with it's own data table. you can chage image hnadler in config file. image handlers mustbe compatible with "MediaControllerInterface"
Screenshots
Idea
This package was created on top of Kraftbit/nova-tinymce5-editor https://github.com/Kraftbit/nova-tinymce5-editor