mdn / yari

The platform code behind MDN Web Docs
Mozilla Public License 2.0
1.19k stars 508 forks source link

[zh-cn] canvas images not shown in live samples #11476

Open guiquanH opened 4 months ago

guiquanH commented 4 months ago

MDN URL

https://developer.mozilla.org/zh-CN/docs/Web/API/Canvas_API/Tutorial/Using_images

What information was incorrect, unhelpful, or incomplete?

image

What did you expect to see?

canvs demo can be show

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

github-actions[bot] commented 4 months ago

It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

bsmth commented 4 months ago

Hi @guiquanH could you please provide the page URL for the problem you're experiencing so we can find out more? Thank you!

Josh-Cena commented 4 months ago

Its English counterpart is this one https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Using_images#scaling (above the section header). The en-US version renders, but the zh-CN one seems to not.

bsmth commented 4 months ago

I see, thanks for the hint. The images are not in the translated content repo: https://github.com/mdn/translated-content/blob/main/files/zh-cn/web/api/canvas_api/tutorial/using_images/index.md?plain=1

I'll move it so we can track and fix it there.

caugner commented 3 months ago

This looks like a Playground issue, because usually the images are copied from the corresponding content folder.