Re: execCommand and contenteditable=typeing (was Re: Only Text Input and Intention Events

On Saturday, 13 December 2014 at 05:39, Koji Ishii wrote:

> I would
> prefer execCommand() simply fails if the selection contains
> contenteditable=typing, and editors do all the work with intentions
> and possibly with DOM manipulations.

I couldn’t agree more.


Do we want to make exceptions for some commands that don’t touch the DOM, like execCommand(‘selectAll’)? Actually this may be the one and only case.

I would be fine to totally dropping execCommand, for consistency.  

--
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 Monday, 15 December 2014 16:13:54 UTC