Answer the question
In order to leave comments, you need to log in
In which svg editor can I edit the code while working?
Good afternoon, for some fields of the SVG image, you need to assign an identifier that does not change after editing the image. By this identifier, I pull out the properties in JS and change the color, inscription, etc.
But for now, I made a picture in openoffice draw, and exported it as SVG, so the identifiers are deleted each time they are exported. In which editor can I add an identifier so that it remains when exporting an SVG image?
Answer the question
In order to leave comments, you need to log in
Use Inkscape. It does not need to go to the console - it has an Object Properties panel (standard - Ctrl-Shift-O
), which allows you to set an ID, name, and much more, plus even set the values of type events in the Interactivity list onClick
.
There is also an XML Editor, called by Ctrl-Shift-X
if you absolutely need to edit the code, but it is absolutely not required to solve your problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question