Skip to content

生成的SVG导入到Word或者PowerPoint,文字没有显示出来 #208

Open

Description

@hongyin163

你好,我想把生成的信息图插入到Word或者PowerPoint,以 SVG 的方式插入,但是只显示图形,没有显示文字,不知道是不是foreignobject的原因。

Image

Activity

  1. Aarebecca commented on Feb 25, 2026

    @Aarebecca
    Contributor

    @hongyin163 应该是这个原因导致的,目前信息图文本通过 foreignObject 来借助浏览器排版,PowerPoint 可能并不支持。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions