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

How do I add a Text tag to a shape #322

Closed
jcxjcx123 opened this issue Apr 8, 2022 · 2 comments
Closed

How do I add a Text tag to a shape #322

jcxjcx123 opened this issue Apr 8, 2022 · 2 comments

Comments

@jcxjcx123
Copy link

Hi!
I want to import a shape with letters, but I don't know how to add the text tags and tspan tags. Could you give me some help? Thank you in advance!
text
19

@unocelli
Copy link
Member

unocelli commented Apr 8, 2022

Hi,
you can add a text, tspan doesn't seem to work 😞.
{ id: '', type: 'text', attr: { x: '10', y: '10' }, content: 'my text' }

@jcxjcx123
Copy link
Author

Great. That worked. thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants