-
Notifications
You must be signed in to change notification settings - Fork 16
Description
This is a follow up from a previous, creating a new issue for clarity on a new bug:
#3602
I am currently using the limel-text-editor (Rich-text-editor)
Specifically, we are using the "inline images (with base64 encoded data)" customization to allow image insertion. This feature (text formatting + images) is intended for creating FAQs displayed in a Lime Portal, similar to those in our own service desk.
🐛 Current Behavior
The limel-text-editor works as expected when editing text and uploading images with Base64 the first time. Images are displayed correctly.

However, upon reopening a saved card, only the display name of the image is shown — not the image itself

After discussing with Fredrik Wallström, the issue may be related to parsing — the backend may fail to parse the full src string, which makes it appear empty on the card, even though it is stored correctly in the database (the image is still displayed properly in Lime Portal).
However, A critical issue occurs when saving the object again after reopening it:
The editor most likely saves the empty src string, causing the image to be removed from the database.
✅ Expected Behavior
After saving an object with updated limel-text-editor content (including images), the content should remain intact and visible when revisiting the object later and re-saving the object should not remove images from the database.