Closed darshan-patel-tops closed 8 months ago
In the future, confirm to keep the formation of the issue intact to be clear to read.
Can you check if any issue appears in the browser console?
From your screenshot, it appears you use Filament v2. Then, you'll use v1 of this package. So, force publish the assets. Also, if you published the package's view, force publish it too.
@mohamedsabil83 I'm experiencing the same bug. The only error logged is about a missing JS file: I tried publishing the config file but still no luck.
Filament: v2 Package: v1.7.0
Update to the latest version, v1.7.5, and force publish the package assets.
@mohamedsabil83 Still not working :confused:
That's weird. It works as expected on my side. Are you working in Windows, too? Could you try to create a fresh site and install the package there? There may be something in your current one you forgot about.
okay so as u said i followed those steps and it is working perfectly fine but as i make the project live on a website it says that No hint path defined for [filament-forms-tinyeditor].
please, publish the asset by run the following:
php artisan vendor:publish --tag="filament-forms-tinyeditor-assets"
Sometimes, you may need to re-publish and override the assets after upgrading:
php artisan vendor:publish --tag="filament-forms-tinyeditor-assets" --force
Same story. Using it with Forms v2. Page is empty. No console errors etc. Tried to clear views, config, cache etc.
I can't reproduce the issue. It works as expected. Also, as there are no console errors, there is nothing to achieve. You need to check if you are missing something or if there's a conflict. All that I can say is:
I have to close the issue for now. If anyone finds the real issue related to this package, don't hesitate to re-open it.
What happened?
<?php
namespace App\Filament\Resources;
use App\Filament\Resources\CampusesResource\Pages; use App\Filament\Resources\CampusesResource\RelationManagers; use App\Models\Campuses; use Filament\Forms; use Filament\Forms\Components\TextInput; use Filament\Resources\Form; use Filament\Resources\Resource; use Filament\Resources\Table; use Filament\Tables; use Filament\Tables\Columns\TextColumn; use Filament\Tables\Columns\ToggleColumn; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\SoftDeletingScope; // use Mohamedsabil83\FilamentFormsTinyeditor\Components\TinyEditor; // You have a missing class import. Try importing this class: use Mohamedsabil83\FilamentFormsTinyeditor\Components\TinyEditor;
class CampusesResource extends Resource { protected static ?string $model = Campuses::class;
How to reproduce the bug
so i cannot see the editor in my page i don't know what to do
Package Version
latest
PHP Version
802.4
Laravel Version
10.
Which operating systems does with happen with?
Windows
Notes
No response