Skip to content

NovaTinyMCE field not show #82

@fh32000

Description

@fh32000

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

ksnip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions