mohamedsabil83 / filament-forms-tinyeditor

A TinyMce Editor component for filament
MIT License
164 stars 37 forks source link

[Bug]: [v1.7.5] Uncaught SyntaxError: expected expression, got '<' #87

Closed nikspyratos closed 10 months ago

nikspyratos commented 10 months ago

What happened?

JS errors in the TinyMCE version used in v1.7.5 - had to use that version because v2+ requires Filament v3 and I am on a v2 repo.

Screenshot 2023-08-10 at 11 43 58

How to reproduce the bug

Package Version

1.7.5

PHP Version

8.2

Laravel Version

8.83.27

Which operating systems does with happen with?

No response

Notes

Probably will postpone the need for this until I can just upgrade to V3, but any other lingering v2 users may also have this issue.

mohamedsabil83 commented 10 months ago

I tried your steps and the editor works as expected. Do you publish assets? Also, do you install it or upgrade it? If upgrade, try to re-publish the assets with --force option and check again

nikspyratos commented 10 months ago

Publishing seems to fix it. This was a fresh install and not an upgrade though.