Answer the question
In order to leave comments, you need to log in
How to make text editing logic in svg?
Hello, we have the following task: we have a lot of svg, let's say business cards, they have a text element, how to make the user, by clicking on this text, be able to change it?
Digging in Google, I did not find anything useful. Is there any out-of-the-box solution for this task? Can this be implemented in d3.js?
Thanks in advance
Answer the question
In order to leave comments, you need to log in
It is possible on d3.js, it is also possible on svg.js (on the main page https://svgjs.com there is immediately an example with dynamic text change (below)), you can write it yourself, but it is not entirely clear what you output you want to get (the simplest manipulations on embedded svg are no more difficult to write yourself than to deal with d3js).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question