core
core copied to clipboard
Image of URL should be the same, when adding an image or a URL that reference an image
Describe the bug The image URL need to be the same pattern ( WYSIWYG_IMAGE_URL_PATTERN ) when add a link that reference an image or by adding an image (icon)
To Reproduce Steps to reproduce the behavior:
- Create a dotCMS instance with the full starter.
- Create a content of type Generic (Content).
- In the WYSIWYG field, reference an existing image in your dotCMS instance.
- Change the view mode from WYSIWYG to Code, and the check the URL of the image you just added.
- The URL Pattern must be equal to WYSIWYG_IMAGE_URL_PATTERN. reference: https://github.com/dotCMS/core/issues/22251
Expected behavior Include an image by URL of by adding an image should match the URL.
Screenshots