api.Document.execCommand

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: Yes

Browser Support

In Chrome version 1 on 2008-12-11

In Chrome Android version 18 on 2012-06-27

In Edge version 12 on 2015-07-29

In Firefox version 69 on 2019-09-03 Note: From Firefox 82, nested calls are not supported (return false). See bug 1634262. Before Firefox 89, manipulating the content of <input> and <textarea> elements using Document.execCommand() commands requires workarounds (see bug 1220696). Only supported for HTMLDocument, not all Document objects.

In Firefox for Android version 79 on 2020-07-28 Note: From Firefox for Android 82, nested calls are not supported (return false). See bug 1634262. Before Firefox for Android 89, manipulating the content of <input> and <textarea> elements using Document.execCommand() commands requires workarounds (see bug 1220696). Only supported for HTMLDocument, not all Document objects.

In Internet Explorer version 4 on 1997-09-30

In Quest Browser version 5.0 on undefined

In Opera version 9 on 2006-06-20

In Opera Android version 10.1 on 2010-11-09

In Safari version 1.3 on 2005-04-15

In Safari on iOS version 1 on 2007-06-29

In Samsung Internet version 1.0 on 2013-04-27

In WebView Android version 4.4 on 2013-12-09

In WebView on iOS version 1 on 2007-06-29