Download the PHP package bbs-lab/nova-toast-ui-editor-field without Composer
On this page you can find all versions of the php package bbs-lab/nova-toast-ui-editor-field. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package nova-toast-ui-editor-field
Laravel Nova Toast UI Editor field
A Toast UI Editor field for Laravel Nova.
Contents
- Installation
- Usage
- Advanced usage
- Dependent Fields
- Toast UI Editor configuration
- Allow iframe in markdown/html
- Use Cloudinary as image picker
- Changelog
- Security
- Contributing
- Credits
- License
Installation
You can install the package via composer:
The package will automatically register itself.
You can publish the config-file with:
This is the contents of the published config file:
Usage
You can use the BBSLab\NovaToastUiEditorField\ToastUiEditor field in your Nova resource:
[!IMPORTANT] The field will store the markdown content in the database.
Advanced usage
Dependent Fields
You may use the dependsOn method to conditionally display the field based on the value of another field. See the example below:
[!TIP] More information about dependent fields can be found in the official documentation.
Toast UI Editor configuration
You may configure the underlying Toast UI Editor instance with the following field's methods. Checkout Toast UI - Vue Editor documentation.
[!NOTE] You may also configure defaults in config-file.
height(string $height)hideModeSwitch(bool $hideModeSwitch = true)initialEditType(ToastUiEditType $editType)language(ToastUiLanguage $language)minHeight(string $minHeight)plugins(array $plugins)previewStyle(ToastUiPreviewStyle $previewStyle)toolbarItems(array $toolbarItems)usageStatistics(bool $usageStatistics = true)useCommandShortcut(bool $useCommandShortcut = true)
Allow iframe in markdown/html
allowIframe(bool $allowIframe = true)
Use Cloudinary as image picker
useCloudinary(bool $useCloudinary = true)
[!IMPORTANT] You must configure your Cloudinary credentials as described in nova-toast-ui-editor-field config file.
Changelog
Please see CHANGELOG for more information on recent changes.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Contributing
Please see CONTRIBUTING for details.
Credits
- Mikaël Popowicz
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of nova-toast-ui-editor-field with dependencies
laravel/nova Version ^5.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
spatie/laravel-package-tools Version ^1.16