Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TranslateText richTextOption Does Not Save Images to Database and the Storage #2069

Open
Huncsuga opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working unconfirmed

Comments

@Huncsuga
Copy link

  • Lunar version: 1.0.0-beta.6
  • Laravel Version: 11.35.1
  • PHP Version: 8.3.15
  • Database Driver & Version: MySQL 8

Expected Behaviour:

The image should be saved in the storage, and its reference in the database. Reloading the editor should display the image as expected.

Actual Behaviour:

The image is displayed in the editor when inserted, but after saving:
1. The success notification appears.
2. The image is not stored in the database and the storage.
3. After reloading the editor not shows the image.

Steps To Reproduce:

  1. Add a TranslateText richTextOption field for a model (e.g., Product) on the admin page.
  2. Insert an image into the editor.
  3. Save the form.
  4. Reload the page.
  5. Observe that the image is no longer present, and it is not stored in the database and the storage.
@Huncsuga Huncsuga added bug Something isn't working unconfirmed labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unconfirmed
Projects
None yet
Development

No branches or pull requests

1 participant