You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Image should be inserted in the content of the data
Actual Behaviour:
The images not inserted to the content
Steps To Reproduce:
This also happens when editing the Product description also, so we don't have to creat a custom resource like me xD
For example, we have the Post model, which has column content as json
Use the trait HasTranslations to the Post model.
In the resource form method
publicstaticfunctionform(Form$form): Form
{
return$form
->columns(1)
->schema([
TranslatedText::make('content')->label('Content')->optionRichtext(true)->nullable(),
]);
}
we upload the image to the content, it is displayed in the RichEditor
click save -> notification success
But after reloading, the image disappears.
I'm checking in the database, there is also no image here
The text was updated successfully, but these errors were encountered:
Expected Behaviour:
The Image should be inserted in the content of the data
Actual Behaviour:
The images not inserted to the content
Steps To Reproduce:
This also happens when editing the Product description also, so we don't have to creat a custom resource like me xD
For example, we have the
Post
model, which has columncontent
as jsonUse the trait
HasTranslations
to the Post model.In the resource
form
methodwe upload the image to the content, it is displayed in the RichEditor
click save -> notification success
But after reloading, the image disappears.
I'm checking in the database, there is also no image here
The text was updated successfully, but these errors were encountered: