NEW 16275
Support contenteditable on SVG
https://bugs.webkit.org/show_bug.cgi?id=16275
Summary Support contenteditable on SVG
Eric Seidel (no email)
Reported 2007-12-03 03:40:51 PST
Support SVG 1.2 editable="simple" attribute on <text> This support is required by WICD 1.0: http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-event-mapping.xhtml
Attachments
Andreas Neumann
Comment 1 2008-01-21 06:28:00 PST
yes, this feature would be very useful for interactive SVG applications. This feature is currently being implemented in Opera 9.5. Editing SVG text with Javascript is complicated and requires a lot of scripting to ensure proper user experience.
Eric Seidel (no email)
Comment 2 2008-01-21 12:36:40 PST
We support editing already. :) We just don't have a way to turn it on for SVG elements. I wonder if adding the "contenteditable" attribute onto a <text> element would do the trick. :)
Dave Hyatt
Comment 3 2008-01-21 13:13:36 PST
Editing is mapped into style (-webkit-user-modify), so you can map this SVG editable attribute into that and get editing behavior.
Andreas Neumann
Comment 4 2008-01-22 12:06:07 PST
do you mean that I can already do editable SVG text as a content-author? If so, could you post a very small example I can use to start with?
Eric Seidel (no email)
Comment 5 2008-01-22 12:59:53 PST
The editing code is all HTML specific. Necessary pieces are on HTMLElement. It's not possible to enable this as a content author (yet).
Jeremy
Comment 6 2011-04-11 00:27:12 PDT
Any update on this? Simple editing support would be fantastic.
Eric Seidel (no email)
Comment 7 2011-04-11 06:20:00 PDT
http://www.w3.org/2004/CDF/TestSuite/WICD_CDR_WP1/test-event-mapping.xhtml doesn't seem to mention anything about editing anymore. Maybe I included the wrong URL in this report?
Eric Seidel (no email)
Comment 8 2011-04-11 08:30:48 PDT
Eric Seidel (no email)
Comment 9 2011-04-11 08:31:57 PDT
Dirk Schulze
Comment 10 2014-05-12 05:11:43 PDT
The contenteditable attribute is the way to make this possible. Sadly it just works when it is set on an HTML root element for SVG. We should support it in SVG natively.
Note You need to log in before you can comment on or make changes to this bug.