DEV Community

Sean Killeen
Sean Killeen

Posted on

[Solved] How can I publish a post in my drafts?

Problem

Currently, when I look at my dashboard, I see several drafts that I've imported via RSS.

I have "DRAFT", "EDIT", and "DELETE" buttons. Under each post

However, none of those buttons appears to give me the ability to actually publish a post. And unlike authoring this post, when I click "SAVE POST", it appears to revert back to the unpublished post, rather than publishing it.

Anyone know how I can actually get some of these out into the wild?

Solution

The post has a published: false piece in the frontmatter. Change it to true.

Top comments (33)

Collapse
 
anishkny profile image
Anish Karandikar •

yup happened to me too. duh! feature request: maybe have a button called "Publish" which explains how to actually publish a draft

Collapse
 
seankilleen profile image
Sean Killeen •

DOH! I missed the published: false in the frontmatter.

Collapse
 
jcubic profile image
Jakub T. Jankiewicz •

Note that deleting it will not help, it need to be set to true.

Collapse
 
nisevi profile image
Nicolas Sebastian Vidal •

same here :P !

Collapse
 
robyconte profile image
Roberto Conte Rosito •

Old but gold, thank you!

Collapse
 
seankilleen profile image
Sean Killeen •

Haha, thank you!

Collapse
 
ogagaonuta profile image
David Onuta •

This helped, thanks a lot...

Collapse
 
technoplato profile image
Michael Lustig - halfjew22@gmail.com •

It's weird. At various times throughout my past, I've logged into dev.to with my Twitter and Github respectively. On the account where I logged in with Github, I had a publish button and did not run into this snafu. On the account where I logged in with Twitter, I did run into it, and also have a different UI for publishing posts altogether (with just plain YAML up top and no publish button, just a preview button)

Collapse
 
technoplato profile image
Michael Lustig - halfjew22@gmail.com • • Edited

Ah! I figured it out. All you have to do is change your editor version.

user-images.githubusercontent.com/...

Collapse
 
bytrangle profile image
Trang Le •

Oh yes, this happened to me, and it took me 15 minutes to discover your post. Thank you.

Collapse
 
kadnan profile image
Adnan Siddiqi •

Darn, it was so unexpected. As a newbie I was just searching for a button

Collapse
 
securestep9 profile image
Sam Stepanyan •

Publish button is needed - it is a fundamental UX/UI concept! Has somebody raised a feature request already?

Collapse
 
agilebelma profile image
Belma •

Thank you for sharing this tip! I really appreciate it!

Collapse
 
joelowrance profile image
Joe Lowrance •

Thank you!