Re: [editing] Leading with ContentEditable=Minimal

2014-06-30 Thread Robin Berjon
On 30/06/2014 07:22 , Johannes Wilm wrote: Another use case: Create a track changes function within an editor (like https://github.com/NYTimes/ice ) that really should be run MVC in order to keep the code somewhat readable. Currently ICE breaks whenever any of the browser makers decide to change

usecases Re: [editing] Leading with ContentEditable=Minimal

2014-06-30 Thread Charles McCathie Nevile
On Mon, 30 Jun 2014 10:54:36 +0300, Robin Berjon ro...@w3.org wrote: On 30/06/2014 07:22 , Johannes Wilm wrote: Another use case: Create a track changes function within an editor (like https://github.com/NYTimes/ice ) that really should be run MVC in order to keep the code somewhat readable.

Re: [editing] Leading with ContentEditable=Minimal

2014-06-30 Thread Ryosuke Niwa
On Jun 29, 2014, at 10:22 PM, Johannes Wilm johan...@fiduswriter.org wrote: Another use case: Create a track changes function within an editor (like https://github.com/NYTimes/ice ) that really should be run MVC in order to keep the code somewhat readable. Currently ICE breaks whenever any

Re: [editing] Leading with ContentEditable=Minimal

2014-06-30 Thread Johannes Wilm
On Mon, Jun 30, 2014 at 10:01 PM, Ryosuke Niwa rn...@apple.com wrote: snip On Jun 26, 2014, at 3:24 PM, Olivier F teleclim...@gmail.com wrote: snip I agree these all seem the same. Here are a few other use cases I can think of: * Create a web-based structured content editor, where the

Re: [editing] Leading with ContentEditable=Minimal

2014-06-30 Thread Ryosuke Niwa
On Jun 30, 2014, at 1:43 PM, Johannes Wilm johan...@fiduswriter.org wrote: On Mon, Jun 30, 2014 at 10:01 PM, Ryosuke Niwa rn...@apple.com wrote: snip On Jun 26, 2014, at 3:24 PM, Olivier F teleclim...@gmail.com wrote: snip I agree these all seem the same. Here are a few other use cases I

Re: [editing] Leading with ContentEditable=Minimal

2014-06-30 Thread Johannes Wilm
On Tue, Jul 1, 2014 at 4:39 AM, Ryosuke Niwa rn...@apple.com wrote: On Jun 30, 2014, at 1:43 PM, Johannes Wilm johan...@fiduswriter.org wrote: On Mon, Jun 30, 2014 at 10:01 PM, Ryosuke Niwa rn...@apple.com wrote: snip - Web-based DTP application: The app can creates a document that

Re: [editing] Leading with ContentEditable=Minimal

2014-06-29 Thread Johannes Wilm
Another use case: Create a track changes function within an editor (like https://github.com/NYTimes/ice ) that really should be run MVC in order to keep the code somewhat readable. Currently ICE breaks whenever any of the browser makers decide to change anything about contenteditable. On Fri,

Re: [editing] Leading with ContentEditable=Minimal

2014-06-26 Thread Robin Berjon
On 24/06/2014 20:09 , Ben Peters wrote: Works for me. Should I just scare up a draft? It is likely to be a pretty short spec :) I'm really looking forward to getting things sorted out! But I think we may want to take a step back and make sure we all agree on the problem, goals, and use cases,

Re: [editing] Leading with ContentEditable=Minimal

2014-06-26 Thread Olivier F
On Thu, Jun 26, 2014 at 3:51 AM, Robin Berjon ro...@w3.org wrote: On 24/06/2014 20:09 , Ben Peters wrote: Problems: * ContentEditable is too complex and buggy to be usable as-is * ContentEditable does not easily enable the wide range of editing scenarios Complex and buggy aren't

Re: [editing] Leading with ContentEditable=Minimal

2014-06-24 Thread Robin Berjon
On 23/06/2014 18:25 , Julie Parent wrote: Well stated. I like contentEditable=cursor. Works for me. Should I just scare up a draft? It is likely to be a pretty short spec :) -- Robin Berjon - http://berjon.com/ - @robinberjon

RE: [editing] Leading with ContentEditable=Minimal

2014-06-24 Thread Ben Peters
-Original Message- On 23/06/2014 18:25 , Julie Parent wrote: Well stated. I like contentEditable=cursor. Works for me. Should I just scare up a draft? It is likely to be a pretty short spec :) I'm really looking forward to getting things sorted out! But I think we may want

Re: [editing] Leading with ContentEditable=Minimal

2014-06-23 Thread Robin Berjon
On 17/06/2014 02:12 , Julie Parent wrote: If Intention events are (temporarily) moved out of scope, I think this leads us back to the question of what would contentEditable='minimal' do exactly? Enable collapsed selections and default handling of cursor movement ... anything else? If this is

Re: [editing] Leading with ContentEditable=Minimal

2014-06-23 Thread Julie Parent
Well stated. I like contentEditable=cursor. On Mon, Jun 23, 2014 at 9:21 AM, Robin Berjon ro...@w3.org wrote: On 17/06/2014 02:12 , Julie Parent wrote: If Intention events are (temporarily) moved out of scope, I think this leads us back to the question of what would

Re: [editing] Leading with ContentEditable=Minimal

2014-06-23 Thread Ryosuke Niwa
On Jun 22, 2014, at 9:19 PM, Julie Parent jpar...@google.com wrote: On Fri, Jun 20, 2014 at 8:47 PM, Ryosuke Niwa rn...@apple.com wrote: On Jun 17, 2014, at 1:44 PM, Julie Parent jpar...@google.com wrote: On Tue, Jun 17, 2014 at 12:22 PM, Olivier F teleclim...@gmail.com wrote: On

Re: [editing] Leading with ContentEditable=Minimal

2014-06-22 Thread Julie Parent
On Fri, Jun 20, 2014 at 8:47 PM, Ryosuke Niwa rn...@apple.com wrote: On Jun 17, 2014, at 1:44 PM, Julie Parent jpar...@google.com wrote: On Tue, Jun 17, 2014 at 12:22 PM, Olivier F teleclim...@gmail.com wrote: On Mon, Jun 16, 2014 at 5:48 PM, Julie Parent jpar...@google.com wrote: On

Re: [editing] Leading with ContentEditable=Minimal

2014-06-20 Thread Ryosuke Niwa
On Jun 17, 2014, at 1:44 PM, Julie Parent jpar...@google.com wrote: On Tue, Jun 17, 2014 at 12:22 PM, Olivier F teleclim...@gmail.com wrote: On Mon, Jun 16, 2014 at 5:48 PM, Julie Parent jpar...@google.com wrote: On Mon, Jun 16, 2014 at 5:23 PM, Ben Peters ben.pet...@microsoft.com wrote:

Re: [editing] Leading with ContentEditable=Minimal

2014-06-17 Thread Piotr Koszuliński
I think that first we need to clarify how we understand some terms/concepts, because I was confused many times and I'm afraid that I also haven't been understood correctly. 1. Separation of basic user intent events and rich command events. Examples: * user intent events - insert character

Re: [editing] Leading with ContentEditable=Minimal

2014-06-17 Thread Julie Parent
On Tue, Jun 17, 2014 at 12:22 PM, Olivier F teleclim...@gmail.com wrote: On Mon, Jun 16, 2014 at 5:48 PM, Julie Parent jpar...@google.com wrote: On Mon, Jun 16, 2014 at 5:23 PM, Ben Peters ben.pet...@microsoft.com wrote: On Mon, Jun 16, 2014 at 5:12 PM, Julie Parent jpar...@google.com

Re: [editing] Leading with ContentEditable=Minimal

2014-06-17 Thread Olivier F
On Tue, Jun 17, 2014 at 1:44 PM, Julie Parent jpar...@google.com wrote: On Tue, Jun 17, 2014 at 12:22 PM, Olivier F teleclim...@gmail.com wrote: On Mon, Jun 16, 2014 at 5:48 PM, Julie Parent jpar...@google.com wrote: On Mon, Jun 16, 2014 at 5:23 PM, Ben Peters ben.pet...@microsoft.com

RE: [editing] Leading with ContentEditable=Minimal

2014-06-17 Thread Ben Peters
On Tue, Jun 17, 2014 at 8:47 AM, Piotr Koszuliński p.koszulin...@cksource.com wrote: I think that first we need to clarify how we understand some terms/concepts, because I was confused many times and I'm afraid that I also haven't been understood correctly. 1. Separation of basic user intent

RE: [editing] Leading with ContentEditable=Minimal

2014-06-17 Thread Ben Peters
On Tue, Jun 17, 2014 at 4:50 PM, Olivier F teleclim...@gmail.com wrote: On Tue, Jun 17, 2014 at 1:44 PM, Julie Parent jpar...@google.com wrote: An app can have a cursor that isn't a native browser cursor. For example, Google Docs does not use native browser cursors and draws their own, so that

Re: [editing] Leading with ContentEditable=Minimal

2014-06-17 Thread Olivier F
Oh right, of course. Thank-you. On Tue, Jun 17, 2014 at 5:00 PM, Ben Peters ben.pet...@microsoft.com wrote: On Tue, Jun 17, 2014 at 4:50 PM, Olivier F teleclim...@gmail.com wrote: On Tue, Jun 17, 2014 at 1:44 PM, Julie Parent jpar...@google.com wrote: An app can have a cursor that isn't a

Re: [editing] Leading with ContentEditable=Minimal

2014-06-16 Thread Julie Parent
If Intention events are (temporarily) moved out of scope, I think this leads us back to the question of what would contentEditable='minimal' do exactly? Enable collapsed selections and default handling of cursor movement ... anything else? If this is all it would do, then perhaps what we really

RE: [editing] Leading with ContentEditable=Minimal

2014-06-16 Thread Ben Peters
On Mon, Jun 16, 2014 at 5:12 PM, Julie Parent jpar...@google.com wrote: If Intention events are (temporarily) moved out of scope, I don’t think I’d say they’re out of scope, just that they will likely not be ready as quickly as we could do contentEditable=’minimal’. Do you agree with that?

Re: [editing] Leading with ContentEditable=Minimal

2014-06-16 Thread Julie Parent
On Mon, Jun 16, 2014 at 5:23 PM, Ben Peters ben.pet...@microsoft.com wrote: On Mon, Jun 16, 2014 at 5:12 PM, Julie Parent jpar...@google.com wrote: If Intention events are (temporarily) moved out of scope, I don’t think I’d say they’re out of scope, just that they will likely not be ready

RE: [editing] Leading with ContentEditable=Minimal

2014-06-16 Thread Ben Peters
On Mon, Jun 16, 2014 at 5:48 PM, Julie Parent jpar...@google.com wrote: Yes. I really like the idea of explicitly enabling what you want and of separating the concepts. Being able to turn on commandEvents independent of a cursor seems useful. An API like this leaves far fewer questions of