awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.
MIT License
249 stars 64 forks source link

Uncaught ReferenceError: destroyEditor is not defined #367

Closed rahmap closed 2 months ago

rahmap commented 2 months ago

Filament Version

3.2.0

Plugin Version

3.2.26

PHP Version

8.2

Problem description

Error when completed uplaod media image image

when i click Submit button, error shown in console Uncaught ReferenceError: destroyEditor is not defined image

and image not shown in input form image

Expected behavior

Image success to upload and displayed in input form

Steps to reproduce

Upload Image on Input Form

Reproduction repository

No response

Relevant log output

No response

rahmap commented 2 months ago

Also image not saved in database,

Local : Running Well Production Server : Error

awcodes commented 2 months ago

I can't seem to replicate this on the latest version.

Try upgrading you also might need to run php artisan filament:assets to make sure you have the correct js files loading.

rahmap commented 2 months ago

I can't seem to replicate this on the latest version.

Try upgrading you also might need to run php artisan filament:assets to make sure you have the correct js files loading.

Thanks for your help, I will try it later.

rahmap commented 2 months ago

Done with php artisan filament:assets

Thanks