emilianotisato / nova-tinymce

Laravel Nova TinyMCE editor (with images upload capabilities!)
MIT License
116 stars 38 forks source link

NovaTinyMCE field not show #82

Open fh32000 opened 2 years ago

fh32000 commented 2 years ago

laravel 9, novav 3.32.0, php 8.1 +++++++++


* 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

<a href="https://ibb.co/zHtsN9D"><img src="https://i.ibb.co/CsSBWCD/ksnip.png" alt="ksnip" border="0"></a> 
fh32000 commented 2 years ago

@yhbyun @duckzland @alberto-bottarini @rodrigore

fh32000 commented 2 years ago

@alberto-bottarini @sadovojav @mist-01 @rubenestevao

paosch12 commented 1 year ago

I hope this will be helpful for you. In my case I have laravel V8 and nova v3, and bc of nova version, I need to install tinyMCE version 1, but if you just followed the steps posted, I notice you that is for version 2. So i solved this issue using tinyMC version 1.2. Here the steps to fix the issue that you bold in red: 1) Run at your command line: composer remove emilianotisato/nova-tinymce

2) edit file composer.json and add "emilianotisato/nova-tinymce": "^1.2", (under "require section") 3) Run at your command line: composer require emilianotisato/nova-tinymce ^1.2 4) Run at your command line: php artisan vendor:publish --provider="Emilianotisato\NovaTinyMCE\FieldServiceProvider" 5) Finally Run at your command line: composer update

Go to your nova page and .... "voila!!" :-)

duckzland commented 1 year ago

The error as in the screenshot complain about missing Vue global javascript variables, which it should be loaded via Nova automatically?