execCommand()
Discouraged
This feature is discouraged. Consider using Async clipboard , contenteditable instead. For the rationale, see:
The execCommand()
method reads and writes from the clipboard and performs editing commands on editable text, such as changing the font name or style. Related methods check whether commands are supported, enabled, or applied.
Learn more
Specifications
Browser support
- Chrome 1 Released on 2008-12-11
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 69 Released on 2019-09-03
- Firefox for Android 79 Released on 2020-07-28
- Safari 1.3 Released on 2005-04-15
- Safari on iOS 1 Released on 2007-06-29
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist