How to undo multiple item in one transaction

i want to undo 10 history item,now i call undo function 10 times which export from prosemirror-history ,that will procude 10 transaction,is it possiable to undo multiple item in one transaction?

No, that’s not currently possible. In what kind of scenario would you need to do that?