I’d like to implement such a record/playback of complete edit history feature based on CM. This consists 2 parts: record and playback:
1 on record time, as user edits the text, save the operations into an object; in additional to regular edit operations like insert, delete, etc., there are custom, application-specific operations as well, save these as well;
2 later when the user wants to play back the whole edit history, he loops through the events, and performs them one by one, including both CM-built in events and custom events, so that the whole history is played back.
Is this possible with CM’s history API? I am new to CM, and although I have examined CM’s sample history JSON via getHistory(), I don’t quite understand what some of the fields mean yet.
Thanks a lot in advance!