# Add inverse of decoration step to history

**URL:** https://discuss.prosemirror.net/t/add-inverse-of-decoration-step-to-history/1342
**Category:** Uncategorized
**Created:** [May 20, 2018, 2:48pm UTC](https://discuss.prosemirror.net/t/add-inverse-of-decoration-step-to-history/1342 "2018-05-20T14:48:49Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![alidcastano](https://discuss.prosemirror.net/letter_avatar_proxy/v4/letter/a/6bbea6/32.png) [@alidcastano](https://discuss.prosemirror.net/u/alidcastano)
#### Post date: [May 20, 2018, 6:06pm UTC](https://discuss.prosemirror.net/t/add-inverse-of-decoration-step-to-history/1342/3 "2018-05-20T18:06:21Z")

</div>

So is what I’m trying to do (to undo a deleted decoration) not possible with the history plugin at all?

Another path i just though of is to keep my own separate history for decorations and chain the undo/redo commands… not sure whether you’d recommend this

---

_[View the full topic](https://discuss.prosemirror.net/t/add-inverse-of-decoration-step-to-history/1342)._
