Import / Export Transaction History

Is there a way to export the transaction history / import it again?

Storing the code in the sessionStorage and loading it again from there is simple, however i struggle with doing the same with the transaction history? Is this possible?

The library itself doesn’t keep a transaction history, so you’ll have to arrange that yourself. Also, there’s no way to serialize annotations and effects, so you can only store part of it (document and selection changes).