Skip to content

[Feature]: 希望Snapshot能够提供配置,支持foreignObject标签外内容的导出 #2301

@RobinJason

Description

@RobinJason

背景&目的

由于项目需求,在流程图的自定义节点周围设置了一些特殊图形(html标签),图形内部写有文字。在缓存图片时,使用了snapShot插件,但是foreignObject标签外的内容都进行了裁剪,导致导出内容不完整。

重现链接
https://stackblitz.com/edit/vitejs-vite-eiewgr9d

期望开发组能协助加上此功能,提供一个配置项,裁剪或不裁剪foreignObject标签外的内容。

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions