Executes a command on the current document, current selection, or the given range.
When implementing a web-based rich-text editor, I read that document.execCommand is useful for performing operations on an HTML document (…
javascript ckeditor richtext dom execcommand