https://github.com/slimani-dev/moh-slimani-nova-tiny-m-c-e
https://github.com/slimani-dev/moh-slimani-nova-tiny-m-c-e
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/slimani-dev/moh-slimani-nova-tiny-m-c-e
- Owner: slimani-dev
- Created: 2022-12-21T13:28:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T09:45:10.000Z (over 3 years ago)
- Last Synced: 2025-02-24T07:07:31.350Z (over 1 year ago)
- Language: Vue
- Size: 576 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nova TinyMCE
A Nova detail field that uses [TinyMCE](https://tiny.cloud/). to add the functionality of Riche Text editor.
## Installation
```shell
composer require moh-slimani/nova-tiny-m-c-e
```
## Usage
```php
use MohSlimani\NovaTinyMCE\NovaTinyMCE;
//..
public function fields(NovaRequest $request): array
{
return [
//..
NovaTinyMCE::make(__('text'))->hideFromIndex(),
//..
]
}
```
## Options
### Full Width
```php
NovaTinyMCE::make(__('text'))->fullWidth(),
```