-
Notifications
You must be signed in to change notification settings - Fork 479
Open
Labels
OKR : Customer SupportOwned by ScottOwned by Scott
Description
Problem Statement
There is a critical regression in the Rich Text content type. When a user interacts with an image within the editor (clicking to select or edit) and then clicks outside the editor area, the image src attribute is automatically transformed from an absolute path to a relative path.
- Expected Source:
/dA/9bf3ad75d5/dog 2.webp?language_id=1 - Actual Source (after blur):
../dA/9bf3ad75d5/dog 2.webp?language_id=1
This silent mutation of the DOM breaks image rendering depending on the page's hierarchical depth.
Screen.Recording.2026-02-27.at.4.55.44.PM.mov
Steps to Reproduce
- Navigate to a content entry using the Rich Text field or create a new one.
- Insert an image or edit existing content with an image using an absolute path.
- Click directly on the image inside the editor to focus it.
- Click anywhere outside the editor container (triggering the
onBlurevent). - Inspect the HTML source/code view of the editor.
- Observe that the
srcattribute has been prepended with../and the image is broken.
Acceptance Criteria
- URL Integrity: The
srcattribute must remain unchanged (absolute path) after the editor loses focus. - No Auto-Transformation: Disable any underlying library setting (e.g., TinyMCE, CKEditor) that converts URLs to relative paths.
- Regression Testing: Verify that saving the content after this interaction does not persist the broken
../path to the database.
dotCMS Version
dotcms-core 26.02.17-01 (February 17, 2026 12:46 PM)
Severity
Medium - Some functionality impacted
Links
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OKR : Customer SupportOwned by ScottOwned by Scott
Type
Projects
Status
New