d4rkr00t / prosemirror-dev-tools

Developer Tools for ProseMirror
321 stars 38 forks source link

Collapse history states where only selection changed #5

Closed d4rkr00t closed 7 years ago

d4rkr00t commented 7 years ago

Changing selection generates a whole lot of events and they are mostly useless because document stays the same:

prosemirror-dev-tools 2017-04-26 12-26-21

We need a way to collapse this events, but with ability to get them when needed (e.g. when i want to jump back to some selection).

Probably we could even make other visual representation for selection changes.