Undo an action


Parameters:

NameTypeDescription
actionNameString'undo' undo API


Example:

editor.execCommand('undo');