mostafaznv / nova-ckeditor

CkEditor 5 Field for Laravel Nova with Media & Snippet Browsers
https://mostafaznv.gitbook.io/nova-ckeditor/
MIT License
51 stars 21 forks source link

Field does not display? #41

Closed sutcliffe121 closed 1 year ago

sutcliffe121 commented 1 year ago

I have followed the installation instructions but I don't see the field when I add it to a resource. There is an error in console when I load the resource with the field:

image

mostafaznv commented 1 year ago

Hi @sutcliffe121 thanks for the report.

Can you give me more explanation? (PHP, Laravel and package version. maybe your resource and config file?) I couldn't reproduce this error.

sutcliffe121 commented 1 year ago

PHP 8.1.2 Laravel 9.48 Nova 4.21 Package 3.4.1

I haven't made any changes to the config file. I published it as per the read me.

I added to my resource using:

use Mostafaznv\NovaCkEditor\CkEditor;

CkEditor::make('Content', 'blog')->stacked(),

When I load the resource, all fields load, but no ck editor.

Console has this error:

image

mostafaznv commented 1 year ago

I couldn't reproduce it.

Laravel Framework 9.48.0 Nova: 4.21.0 CkEditor 3.4.1

Maybe it's a conflict with other packages? Can you retest it with a fresh install of Laravel and Nova?