undoInputRule command

undoInputRule will undo the most recent input rule that was triggered.

Use the undoInputRule command

editor.commands.undoInputRule()