- From: Olivier Forget <teleclimber@gmail.com>
- Date: Thu, 11 Dec 2014 09:32:57 -0800
- To: Frederico Knabben <f.knabben@cksource.com>
- Cc: Johannes Wilm <johannes@fiduswriter.org>, Ben Peters <Ben.Peters@microsoft.com>, Ryosuke Niwa <rniwa@apple.com>, public-editing-tf <public-editing-tf@w3.org>
- Message-ID: <CAA5DY6bMgiiiXbikuv_ZvhbfSJK=3msQWq7nd-ZTYD2rOYsm-A@mail.gmail.com>
On Thu, Dec 11, 2014 at 1:01 AM, Frederico Knabben <f.knabben@cksource.com> wrote: > On Wednesday, 10 December 2014 at 19:09, Olivier Forget wrote: > > On Tuesday, 9 December 2014 at 11:25, Johannes Wilm wrote: > > * Caret movement direction - from inside or from outside. E.g.: > <b>ab|c</b>de -> ARROW-RIGHT > <b>abc|</b>de -> ARROW-RIGHT > <b>abc</b>d|e > > <b>abc</b>d|e -> ARROW-LEFT > <b>abc</b>|de -> ARROW-LEFT > <b>ab|c</b>de > > Ok, wouldn't this mean in the second example of each that new content > being added to the inline element or not depends which arrow key was > pressed previously? > > No, it doesn’t depend on which key, but on where I was before the caret > move. If I was outside, I stay outside. If I was inside, I stay inside. > > On the GitHub issue we had the idea that the default behavior of cE=typing > should mimic long-established practices by legacy rich editors (Word, > Google docs, Mac TextEdit.) We figure these behaviors are what users > expect. Besides it will be far easier for us to come to an agreement by > copying existing practices than to come up with new and wonderful UI > patterns. > > That new wonderful UI pattern didn’t come from my mind out of nothing and > is not so new :) It is the behavior that Firefox has had in cE for years > already. I always appreciated that idea and so I’m just re-proposing it > here. > > As any proposal, it can be dropped by bringing to the table solid > arguments. You brought some and I agree that mimicking MS Word is a good > approach, being this the most used text editor in the world. Curious if IE > generally follows MS Word behavior as well, @Ben :) > > It definitely sounds interesting and I'm always open to changing my opinion on things based on the discussion. But so far we have seen most implementations following the Word model. Best I can tell IE11 follows the Word model as well: outside~outside for links, outside~inside for styles. Ben, do your connections with the Office team mean we could find somebody knowledgeable to clue us in on what they feel is the "proper" behavior of the caret in a rich text editor and why? > -- > Frederico Knabben > CKEditor Project Lead and CKSource Owner > -- > CKSource - http://cksource.com > -- > Follow us on: Twitter <http://twitter.com/ckeditor> | Facebook > <http://www.facebook.com/ckeditor> | Google+ > <https://plus.google.com/107736718646302128806> | LinkedIn > <http://www.linkedin.com/company/cksource> > >
Received on Thursday, 11 December 2014 17:33:25 UTC