Open yulolimum opened 6 years ago
I can't think of a really simple way to accomplish this offhand. Do you have any ideas?
Actually, I suppose we could delete all revisions. That would "reset" the page entirely. I kind of like the idea of doing this, but we would need to make it hard to do accidentally.
@jamonholmgren I actually disagree. The whole point of revisions is to have a history. Deleting all revisions just to get to "version 1" is counterproductive IMO. Also, you'd actually have to delete the Page and PageContents in order to go all the way back to placeholder.
Understand, yeah. Any ideas? I don't want something janky.
Right now, the first revision in the backup system is a snapshot of the content after the very first page Save. This is good; however, we lose all content (default / placeholder content) that was there before the first Save. The only way to get it back is to change the content IDs for all areas on the page in the code. It would be nice to have a copy of the content in the database.