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

Media added to Multistep section doesn't display #797

Open
leeomara opened this issue Dec 20, 2024 · 2 comments
Open

Media added to Multistep section doesn't display #797

leeomara opened this issue Dec 20, 2024 · 2 comments
Assignees

Comments

@leeomara
Copy link
Member

Where editing a Multistep page, adding media to the Section Content text field is visible in the editor interface, but not visible when published.

The rendered content includes a <drupal-media> html tag.

What the editor sees
Screenshot 2024-12-20 143241

What the public sees
Screenshot 2024-12-20 143324

What is rendered
Screen Shot 2024-12-20 at 4 31 05 PM

Reported as:

I am trying to add an image to a page but when the page is published the image does not appear. As in the screenshots, the image is completely absent from the published page where it is inserted in the editor. I have tried reuploading the image and using a different file format (PNG and JPG) and nothing has fixed the issue.

Reported by EMR

Example URL: https://yukon.ca/en/heating-system-rebate#nav-things-to-think-about-if-you-want-to-change-your-home-heating-system

@leeomara
Copy link
Member Author

leeomara commented Dec 20, 2024

Testing on UAT, media in the Body field work fine. Media in the Section Content field of Section do not.

Screen Shot 2024-12-20 at 4 52 38 PM

@leeomara leeomara moved this from Review to To do in Yukon.ca Phase G Dec 20, 2024
@leeomara
Copy link
Member Author

leeomara commented Dec 21, 2024

Testing with an alternative theme (e.g. Olivero), the media is rendered correctly it the Section Content field. This suggest that the Yukon Glider theme is doing something wrong processing that field (e.g. not applying text filters?).

Screen Shot 2024-12-20 at 5 07 34 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants