Repository navigation
fix(writing): 夸克等内核下字帖图片导出不再卡住 - #188
Merged
Merged
Conversation
- 品牌 Logo(data: SVG)加载加 2 秒超时,内核不回调时不画 Logo - 画布因 SVG 被标记为不可导出时,去掉 Logo 重画一次 - 新增两条回归测试
2 tasks done
WardLu
added a commit
that referenced
this pull request
Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题
夸克中点「保存 A4 字帖图片」只变按钮文字,没有图片。导出流程与 Shadow Snap 一致;差异在于影伴先加载 data: SVG 品牌 Logo:部分国产内核既不触发 onload/onerror(导出挂起),或画过 SVG 后画布不可导出(toBlob/toDataURL 抛 SecurityError)。
修复
验证
npm run check通过Release impact
无数据库变更;需生产部署后在夸克验证。