Autosave drafts in rich text editor

I would like to allow users to save drafts of what they write in the rich text editor. In terms of database schema, what is the best way to store these?

I’m looking for a functionality like a MS365 Word doc or a Google Doc where someone can go back and see what was edited yesterday, particularly if another user edited it.

Side note: Do I understand correctly that the rich text editor is TipTap? Can I add extensions myself?

I am a newb and am scoping out my project setup and requirements. I plan on using Xano for the backend.

1 Like

Equal interest in this one!

Hi,
you can have a debounce on your input, and then have a workflow onChange to autosave your data in your backend. It’s up to you to decide what you want to save at this point.

The code is indeed using tiptap. If you wish to add extension, you can fork the existing repository to add your own logic
Link to the repository
Link to the dev documentation

3 Likes