mohamedsabil83 / filament-forms-tinyeditor

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

[Bug]: Bug with spatie translatable #83

Closed ifedeev closed 10 months ago

ifedeev commented 11 months ago

What happened?

after switch language editor can't be opened image

How to reproduce the bug

Switch language to another

Package Version

lates

PHP Version

8.1

Laravel Version

10

Which operating systems does with happen with?

macOS, Windows, Linux

Notes

No response

mohamedsabil83 commented 11 months ago

Do you mean switching locale within config/app.php? If so, does the default one, en, works as expected? What about de?

ifedeev commented 11 months ago

Do you mean switching locale within config/app.php? If so, does the default one, en, works as expected? What about de?

mm, I mean with package filament-translatable - (spatie/translatable)

core45 commented 11 months ago

I have it with spatie-translatable and it works fine. @ifedeev: did you install filament/spatie-laravel-translatable-plugin so the Filament is aware of translations?

mohamedsabil83 commented 11 months ago

@ifedeev We can't reproduce your issue. Many use it and it works fine as @core45 said. Be sure to install everything and configure it as it needs.

ifedeev commented 10 months ago

I have it with spatie-translatable and it works fine. @ifedeev: did you install filament/spatie-laravel-translatable-plugin so the Filament is aware of translations?

yes

ifedeev commented 10 months ago

@ifedeev We can't reproduce your issue. Many use it and it works fine as @core45 said. Be sure to install everything and configure it as it needs.

@mohamedsabil83 I'm use spatie-translatable + Builder

mohamedsabil83 commented 10 months ago

Can you show me your code? Because it works as expected in my side.

ifedeev commented 10 months ago

Can you show me your code? Because it works as expected in my side.

image image

UI when everything is OK image

when I switch language image image

mohamedsabil83 commented 10 months ago

I guess there are some conflicts with the PageBuilder package. Try to use it without PageBuilder package to confirm if works as expected or not.

ifedeev commented 10 months ago

I guess there are some conflicts with the PageBuilder package. Try to use it without PageBuilder package to confirm if works as expected or not.

Bug only with filament-fabticator + spatie-translatable

ifedeev commented 10 months ago

fixed image