firepad
firepad copied to clipboard
[Feature Request] Playback of the document
Hi,
I'm working on a collaborative code editor in which users can work simultaneously and later they should be able to view the history of the document like a video.
Basically, the video should show the edits to document on a time frame. I'm using the ACE editor as a client.
Can anybody throw me some ideas to get me started?
As of now, I've been reading about how ACE & firepad works internally and deltas (in ACE) looks like a promising stuff.
@shivtej1505
Hi, I know you asked this question back in 2018.
Did you figure out how to do it? I am also trying to get the history data. So I can easily display the coding history by time frame.
It would be great if there are some APIs that can return the full text value by history.
Like based on history index, I can do getHistoryValue(index) => full text value of this moment.
I did actually. I was able to make a code replay kind of thing. Don't remember the details though 😅
I did actually. I was able to make a code replay kind of thing. Don't remember the details though 😅
No worries, thank you for the reply, I figured this out as well. And I also forgot how I did it 😅