Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 解析后的svg组件,不支持文字展示(可以编辑文字,但是失去焦点后文字就不展示了),必须将文字存入children下的某个配置中才可以显示 #267

Open
mishudaoshui opened this issue Jan 2, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@mishudaoshui
Copy link

Code Sanbox异常重现

No response

bug描述

解析后的svg组件,不支持文字展示,必须将文字存入children下的某个配置中才可以显示

期待效果

可以正常展示编辑后的文字

发生频率

每次

核心库版本

1.0.42

浏览器版本

chrome:131.0.6778.140

其他需要补充的

image
image

@mishudaoshui mishudaoshui added the bug Something isn't working label Jan 2, 2025
@SignDawn
Copy link
Contributor

SignDawn commented Jan 8, 2025

文字需要编辑吗?如果不需要可以考虑导出 path 看看呢?

@SignDawn
Copy link
Contributor

SignDawn commented Jan 8, 2025

可以把 svg 资源发出来看看,文字本身可以作为一个节点的,不一定非得是 某个节点 的 text 属性

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants