Files
archived-orca/src
NeilandClaude ba83d98779 fix(editor): copy SVG images with HTML labels as PNG (#36823)
* fix(editor): copy blob-URL SVGs with HTML labels as PNG

Chromium taints a canvas drawn from a blob-URL SVG that contains foreignObject,
so Copy as PNG failed for local Markdown SVG images with HTML labels. Rasterize
those through a data URL, which Chromium does not taint.

Co-Authored-By: Claude <noreply@anthropic.com>

* test(editor): drop type assertions from the PNG taint test

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-31 17:36:58 -07:00
..