Tiptap Editor 3.0 Beta is out. Start here

undoInputRule command

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

Use the undoInputRule command

editor.commands.undoInputRule()