- From: Ian Hickson <ian@hixie.ch>
- Date: Sat, 28 Apr 2012 16:30:35 +0000 (UTC)
On Fri, 27 Apr 2012, Ryosuke Niwa wrote: > > All editing commands work inside input/textarea on WebKit although some > of them have no effect (e.g. bold, italic, etc...) That sounds rather odd... > 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. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 28 April 2012 09:30:35 UTC