yari icon indicating copy to clipboard operation
yari copied to clipboard

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

Open guiquanH opened this issue 1 year ago • 5 comments

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

guiquanH avatar Jun 20 '24 06:06 guiquanH

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.

github-actions[bot] avatar Jun 20 '24 06:06 github-actions[bot]

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

bsmth avatar Jun 20 '24 08:06 bsmth

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.

Josh-Cena avatar Jun 26 '24 23:06 Josh-Cena

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.

bsmth avatar Jul 02 '24 08:07 bsmth

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

caugner avatar Jul 12 '24 12:07 caugner

I think this was fixed via https://github.com/mdn/yari/pull/12335.

@guiquanH Please let me know if this is still an issue.

caugner avatar Mar 14 '25 20:03 caugner