ckeditor / ckeditor5-hackathon

CKEditor 5 Hackathon
Other
12 stars 4 forks source link

Selective undo #3

Closed scofalik closed 6 years ago

scofalik commented 8 years ago

Let's implement a selective undo. Using our OT implementation it's possible to undo some past changes (meaning – not the most current one but some previous ones).

scofalik commented 8 years ago

Selective undo proof-of-concept has been implemented, you can see it in action here: https://twitter.com/scofalik/status/740204196977385474

The changes in the feature are mostly UI things. Of course the heavy stuff is in Undo feature, which is one of core CKEditor5 features and I've been working a lot to fix bugs there.

Check out ckeditor5-engine branch hackathon/selective-undo and ckeditor5-undo branch hackathon/selective-undo to see some of those changes (other changes are already on master).

There are a few issues in undo mechanism to work on, though, like:

But it's going well!

scofalik commented 8 years ago

I've pushed some code that is breaking selective undo for a while, but will fix it tomorrow morning :)