-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
laravel 9,
novav 3.32.0,
php 8.1
+++++++++
- in Resource
/**
* Get the fields displayed by the resource.
*
* @param \Illuminate\Http\Request $request
* @return array
*/
public function fields(Request $request)
{
return [
ID::make(__('ID'), 'id')->sortable(),
Number::make(__('priority'), 'priority')->sortable(),
Boolean::make(__('active'), 'active'),
NovaTinyMCE::make(__('description'),'description'),
];
}
- in composer
"emilianotisato/nova-tinymce": "^1.2",
- in nova config
'tinymce_api_key' => env('TINYMCE_API_KEY'),
- in .env
TINYMCE_API_KEY=myfreekey
- in nova Create Model
paosch12
Metadata
Metadata
Assignees
Labels
No labels
