Click here to Skip to main content
15,890,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a draft version of an article and I don't want to preserve that draft. I want it so that the next time I click "Update Article", it gives me the most recent published version, not the draft. Yet clicking "Revert to last published version", while it does give me back the published version on the main page, doesn't seem to work when I opt to update again--then it gives me the draft version that I don't want. How do I discard the draft version so that the next update gives me the published version?!

PS. The offline version of the CodeProject Article Editor (which hasn't been updated in 5 years!) isn't very reliable: 1) The editing behavior itself is highly erratic, particularly when turning on an off bulletting/numbering ; 2) whenever one attempts to log in, numerous "scripting errors" occur; and 3) if one tries to "cut and paste" text between the offline editor and the online one, the article looks different in each--with formatting errors and even text being mis-arranged. Just thought you should know.

What I have tried:

Everything. There seems to be no "Discard Draft" option!
Posted
Updated 8-Jan-18 16:08pm
v3
Comments
Richard MacCutchan 9-Jan-18 4:42am    
Please stop posting these questions in QA; use the correct forums.
Robert Gustafson 9-Jan-18 20:37pm    
Perhaps my inclusion of talk regarding the offline editor confused you. My principle problem is with using the ONLINE editor. I only mentioned the other one because the "working draft" text for the online editor somehow got altered during efforts to "cut and paste" back an forth between the two. I NEED THE VERSION IN THE *ONLINE* EDITOR TO MATCH THE LAST PUBLISHED VERSION, yet for some reason, every time I click on "Update Article" it gives me the bad draft. (Specifically, the bullets and numbers on the text's various lists look live "download" symbols instead of bullets, numbers, lightning bolts, and the other stuff in the published version. The published version correctly displays in the main article page, yet the version that keeps showing up in the editor when I click the "update" icon is that bad working version.) PLEASE HELP!
Robert Gustafson 9-Jan-18 20:40pm    
And if someone offers a possible solution instead of a lecture on "posting protocol" I would stop posting. Besides, since this is primarily a question about how to work with the website and not an error in an article program, I think my posts DO belong here (as opposed to in "Bugs and suggestions"; I'm asking for HELP much more than noting an error).
Robert Gustafson 9-Jan-18 21:29pm    
I just solved the problem. I had to edit the draft to make it look right again. I guess there's no way around that.

1 solution

Post the problem in the Bugs and Suggestions[^] forum.
 
Share this answer
 
Comments
Robert Gustafson 8-Jan-18 22:12pm    
Are you talking about the offline editor or about my main question regarding discarding a draft? The issue of the draft version is my PRIMARY concern.
Dave Kreskowiak 8-Jan-18 22:18pm    
Yes, all of it.
Robert Gustafson 8-Jan-18 23:07pm    
I need to know how to discard a working draft so that the version that shows on the main page is what shows in the (online) editor. Somebody please answer, as my ability to reliable to further updates depends on it!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900