undoInputRule will undo the most recent input rule that was triggered.
undoInputRule
editor.commands.undoInputRule()