-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
Component/s: Page - Editor - Legacy (TinyMCE)
-
None
-
1
-
Minor
Issue Summary
When using the style macro and setting a background image using CSS, if you link to an image and surround the URL with quotes it will cause that image to not load on the page.
Steps to Reproduce
- On a page using the legacy editor, add the 'Style' macro
- Add CSS to the Style macro and try adding a background image like:
background-image: url("/wiki/download/attachments/124157953/banner.png");
- Publish page
Expected Results
Background image loads as specified by CSS
Actual Results
Background image does not load
Viewing network tab, the request URL shows up with the quotes being interpreted like:
https://<Cloud URL>/wiki/spaces/SPACEKEY/pages/33751045/"/wiki/download/attachments/124157953/banner.png"
Workaround
Edit the CSS and remove the quotes around the URL