- From: Ryosuke Niwa <rniwa@webkit.org>
- Date: Sat, 28 Apr 2012 16:40:41 -0700
On Sat, Apr 28, 2012 at 9:30 AM, Ian Hickson <ian at hixie.ch> wrote: > > > I think reusing execCommand is better than adding new method for > > input/textarea elements for each new feature request like this one. > > If it was a contentEditable feature I'd reluctantly agree (reluctantly > because execCommand is a terrible API), but I really don't see why > execCommand() would work on input controls. Because they're all "editing" features. How do we know someone won't suggest adding things like input.insertParagraph(), or input.deleteSelectedText(), etc... - Ryosuke
Received on Saturday, 28 April 2012 16:40:41 UTC