Examples
editor.isCommandEnabled(CommandName)
Gets whether the specified command is enabled.
Syntax
editor.isCommandEnabled(CommandName)
Parameter
Type: string
Command name.
Return Value
Type: boolean
True if the command is enabled, false if not.
Example:
var editor1 = new RichTextEditor("#div_editor1");
editor1.clearHistory();
console.log("after clear history, can undo : " + editor1.isCommandEnabled("undo"));