Javascript execCommand() function

The predefined function execCommand() applies to the text that is selected. You can perform actions like bold, delete, redo, undo, etc. on the selected text in the editable area. You need to use the document prefix before execCommand like this document.execCommand();. exec Commands List bold copy paste cut redo undo delete superscript subscript unlink selectAll … Read more Javascript execCommand() function