Closed pranjalps03 closed 9 years ago
I want to update the title like of contentediatble=true or wheather I could inject the id on tspan in svg.
I'm not sure, but is condentEditable supported in SVG? I made simple test case: http://jsfiddle.net/7m3Mr/136/ - doesn't work.
And regarding ID's, you can add ID to the annotation text using element.attr()
, see: http://jsfiddle.net/7m3Mr/137/
Or example to set title.id
in options: http://jsfiddle.net/7m3Mr/138/
Use
annotation.update()
.