Closed poldixd closed 1 year ago
Next, publish the asset by run the following:
php artisan vendor:publish --tag="filament-forms-tinyeditor-assets"
Sorry, I forgot to write: the assets have been published.
Do you make any changes to how filament generate assets URL?
Close for not activity. If you still facing this issue, will open it again.
What happened?
Filament should load the tinymce.min.js asset. But I'm getting a 404 error.
How to reproduce the bug
When you install your plugin in filament and you go to the page where the editor is included.
Package Version
1.7.1
PHP Version
8.2.4
Laravel Version
10.4.1
Which operating systems does with happen with?
macOS
Notes
Maybe the error is here: https://github.com/mohamedsabil83/filament-forms-tinyeditor/blob/main/src/FilamentFormsTinyeditorServiceProvider.php#L45
If you change the path to…
… filament will find the right asset file and send it to the browser. In this function filament checks if the asset file exists in the composers vendor directory. If the file is not exists, filament will throw a 404.