Can't restore most recent revision of post, Markdown blown away
-
Apologies if this has been addressed elsewhere, but I could not find anything upon searching.
I type mainly in Markdown, pasting it into the text area of a post in WordPress, and it all works swell. I recently edited a bunch of slugs via the ‘quick edit’ button on the posts page, however, and it blew away the Markdown on all posts edited, leaving me only with the messy HTML in the text portion. These are all meant to be drafts from a book I’m working on, or most of them, so they are quite long, the most recent versions were on the site, and it completely destroyed any chance of functional citations and re-editing it elsewhere.
I figured I could just revert to the most recent version before it, and that does show up when I open the revisions of a post. When I first click the post revisions, the one on the left is indeed the old Markdown post in all it’s glory, the one displayed on the right being the messy HTML version, but WordPress will not allow me to revert to the post on the left for some reason. It displays the Markdown post immediately on the left, and it’s what I want, but for some reason I’m only allowed to restore one revision *prior* to the version that is most recent by hitting the previous button. I don’t really understand why or see the point of that. I can’t simply select it and copy it out either, as it selects the text of both columns as I go for no good reason.
These are all quite long, and between them all amount to 20-50k words, so it isn’t feasible to just edit it all out or back either. Any ideas? Why can I not revert back to the post shown to me immediately upon hitting the post revisions button from within a post’s editing page? The button to revert back is grayed out until I go to revisions that are further back.
Additionally as a complain I suppose, I don’t think it’s a good idea to blow away the Markdown of a post when editing it from the quick edit area. All I did was edit the slugs, I didn’t think it would destroy all my writing.
Thanks for any help with this!
- The topic ‘Can't restore most recent revision of post, Markdown blown away’ is closed to new replies.