I'm developing a CMS and would like to be able to submit user-edited content back to the server, but at present, it's not possible to do this without copying the contents of the edited element with JavaScript into, say, a hidden form field. I think that there should be some mechanism to associate contentEditable elements with forms—maybe the combination of contentEditable="true" and the presence of @name creates an implicit form control? The value sent to the server could be equivalent to that element's innerHTML. Thoughts?
- [whatwg] Submitting contentEditable Content In A Form Hugh Guiney
- Re: [whatwg] Submitting contentEditable Content In ... Mikko Rantalainen
- Re: [whatwg] Submitting contentEditable Content... Alain Couthures
- Re: [whatwg] Submitting contentEditable Con... Ojan Vafai
- Re: [whatwg] Submitting contentEditable... Markus Ernst
- Re: [whatwg] Submitting contentEdi... Alain Couthures
- Re: [whatwg] Submitting contentEditable... Jonas Sicking
- Re: [whatwg] Submitting contentEdi... Ian Hickson
- Re: [whatwg] Submitting conten... David Dailey
- Re: [whatwg] Submitting co... Ian Hickson
- Re: [whatwg] Submitting co... David Dailey