Re: [whatwg] Submitting contentEditable Content In A Form

2012-12-20 Thread Aryeh Gregor
On Wed, Dec 19, 2012 at 10:49 PM, Ian Hickson wrote: > How common is it for a part of a page to be editable when the page is > loaded, for there to be no formatting UI, for the page to not mind if the > user uses the browser's own formatting features (e.g. dragging and > dropping formatted text in

Re: [whatwg] Submitting contentEditable Content In A Form

2012-12-19 Thread Ian Hickson
On Mon, 22 Oct 2012, Hugh Guiney wrote: > On Wed, Oct 17, 2012 at 7:23 PM, Ian Hickson wrote: > > > > I haven't added this, because contenteditable="" is only truly useful > > with scripting enabled, and it's basically one line of script to > > support shunting the current value into a hidden in

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-22 Thread Ojan Vafai
On Sat, Oct 20, 2012 at 4:55 PM, Ian Hickson wrote: > On Sat, 20 Oct 2012, Aryeh Gregor wrote: > > > > On Thu, Oct 18, 2012 at 1:23 AM, Ian Hickson wrote: > > > Incidentally, it seems to use a WebKit-specific "plaintext-only" value. > > > Should we spec that? Aryeh? It's filed as: > > > > > >

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-22 Thread Hugh Guiney
On Wed, Oct 17, 2012 at 7:23 PM, Ian Hickson wrote: > > I haven't added this, because contenteditable="" is only truly useful with > scripting enabled, and it's basically one line of script to support > shunting the current value into a hidden input. For me, it's also useful even just as a way fo

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-21 Thread Aryeh Gregor
On Sun, Oct 21, 2012 at 4:46 AM, David Young wrote: > Aryeh and all, > > Initially I was attracted to the list because it seemed like virtually > the only place where direct editing of web pages, especially via > contentEditable, was under discussion. > > The main (or only?) thrust of the conversa

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-20 Thread David Young
On Sat, Oct 20, 2012 at 07:37:13PM +0200, Aryeh Gregor wrote: > On Thu, Oct 18, 2012 at 1:23 AM, Ian Hickson wrote: > > Incidentally, it seems to use a WebKit-specific "plaintext-only" value. > > Should we spec that? Aryeh? It's filed as: > > > >https://www.w3.org/Bugs/Public/show_bug.cgi?id=1

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-20 Thread Ian Hickson
On Sat, 20 Oct 2012, Aryeh Gregor wrote: > > On Thu, Oct 18, 2012 at 1:23 AM, Ian Hickson wrote: > > Incidentally, it seems to use a WebKit-specific "plaintext-only" value. > > Should we spec that? Aryeh? It's filed as: > > > >https://www.w3.org/Bugs/Public/show_bug.cgi?id=14554 > > > > If thi

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-20 Thread Aryeh Gregor
On Thu, Oct 18, 2012 at 1:23 AM, Ian Hickson wrote: > Incidentally, it seems to use a WebKit-specific "plaintext-only" value. > Should we spec that? Aryeh? It's filed as: > >https://www.w3.org/Bugs/Public/show_bug.cgi?id=14554 > > If this should involve changes to HTML, let me know. In princi

Re: [whatwg] Submitting contentEditable Content In A Form -- also in SVG and audio contexts

2012-10-17 Thread David Dailey
g'; a...@aryeh.name Subject: RE: [whatwg] Submitting contentEditable Content In A Form -- also in SVG and audio contexts On Wed, 17 Oct 2012, David Dailey wrote: > > I don't know if this matters or not, but at some point in time, other > standards than HTML like or might receive

Re: [whatwg] Submitting contentEditable Content In A Form -- also in SVG and audio contexts

2012-10-17 Thread Ian Hickson
On Wed, 17 Oct 2012, David Dailey wrote: > > I don't know if this matters or not, but at some point in time, other > standards than HTML like or might receive sensible > proposals to allow other media (than just text) to be contentEditable. > > Just as it makes sense to have built in text edit

Re: [whatwg] Submitting contentEditable Content In A Form -- also in SVG and audio contexts

2012-10-17 Thread David Dailey
On Behalf Of Ian Hickson Sent: Wednesday, October 17, 2012 7:24 PM To: whatwg Cc: a...@aryeh.name Subject: Re: [whatwg] Submitting contentEditable Content In A Form On Fri, 7 Sep 2012, Hugh Guiney wrote: > > I'm developing a CMS and would like to be able to submit user-edited > co

Re: [whatwg] Submitting contentEditable Content In A Form

2012-10-17 Thread Ian Hickson
On Fri, 7 Sep 2012, Hugh Guiney wrote: > > 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 thin

Re: [whatwg] Submitting contentEditable Content In A Form

2012-09-16 Thread Jonas Sicking
On Thu, Sep 13, 2012 at 2:06 PM, Ojan Vafai wrote: > On Fri, Sep 7, 2012 at 1:07 PM, Alain Couthures < > alain.couthu...@agencexml.com> wrote: > >> Le 07/09/2012 12:32, Mikko Rantalainen a écrit : >> >> 2012-09-07 11:57 Europe/Helsinki: Hugh Guiney: >>> JavaScript into, say, a hidden form fi

Re: [whatwg] Submitting contentEditable Content In A Form

2012-09-14 Thread Alain Couthures
Le 14/09/2012 09:50, Markus Ernst a écrit : Am 13.09.2012 23:06 schrieb Ojan Vafai: On Fri, Sep 7, 2012 at 1:07 PM, Alain Couthures < alain.couthu...@agencexml.com> wrote: Le 07/09/2012 12:32, Mikko Rantalainen a écrit : 2012-09-07 11:57 Europe/Helsinki: Hugh Guiney: JavaScript into, say,

Re: [whatwg] Submitting contentEditable Content In A Form

2012-09-14 Thread Markus Ernst
Am 13.09.2012 23:06 schrieb Ojan Vafai: On Fri, Sep 7, 2012 at 1:07 PM, Alain Couthures < alain.couthu...@agencexml.com> wrote: Le 07/09/2012 12:32, Mikko Rantalainen a écrit : 2012-09-07 11:57 Europe/Helsinki: Hugh Guiney: JavaScript into, say, a hidden form field. I think that there sho

Re: [whatwg] Submitting contentEditable Content In A Form

2012-09-13 Thread Ojan Vafai
On Fri, Sep 7, 2012 at 1:07 PM, Alain Couthures < alain.couthu...@agencexml.com> wrote: > Le 07/09/2012 12:32, Mikko Rantalainen a écrit : > > 2012-09-07 11:57 Europe/Helsinki: Hugh Guiney: >> >>> JavaScript into, say, a hidden form field. I think that there should >>> be some mechanism to associ

Re: [whatwg] Submitting contentEditable Content In A Form

2012-09-07 Thread Alain Couthures
Le 07/09/2012 12:32, Mikko Rantalainen a écrit : 2012-09-07 11:57 Europe/Helsinki: Hugh Guiney: 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

Re: [whatwg] Submitting contentEditable Content In A Form

2012-09-07 Thread Mikko Rantalainen
2012-09-07 11:57 Europe/Helsinki: Hugh Guiney: > 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?

[whatwg] Submitting contentEditable Content In A Form

2012-09-07 Thread Hugh Guiney
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 c