compat(footnote): support footnote text in alt attribute of the image, closes #3576 (#3587)

refactor: remove unused continuous scroll
This commit is contained in:
Huang Xin
2026-03-22 19:17:02 +08:00
committed by GitHub
parent 2905506017
commit 87f0240b0a
8 changed files with 6 additions and 84 deletions
@@ -201,6 +201,7 @@ export const handleClick = (
footnote:
footnote.getAttribute('data-wr-footernote') ||
footnote.getAttribute('zy-footnote') ||
footnote.querySelector('img')?.getAttribute('alt') ||
footnote.getAttribute('alt') ||
element?.getAttribute('alt') ||
'',