loading...

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

seankilleen profile image Sean Killeen ・1 min read

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.

Discussion

pic
Editor guide
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 Author

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

Collapse
nisevi profile image
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

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
kevgathuku profile image
Kevin Ndung'u

Thanks for this! I was also expecting to find a Publish button somewhere 😅

Collapse
agilebelma profile image
Belma

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

Collapse
n350071 profile image
n350071🇯🇵

Great!! Thank you for saving my time!

Collapse
joelowrance profile image
Joe Lowrance

Thank you!

Collapse
hozefaj profile image
Hozefa

Thanks 👍

Collapse
hydroweaver profile image
Karan

THANK YOU !!!!!!!!!!!!!!!!

Collapse
rikschennink profile image
Rik Schennink

Thanks! Super helpful :D

Collapse
jlengrand profile image
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
piedcipher profile image
Tirth Patel

Thanks a lot!

Collapse
millan123ta profile image
millan123ta

I have given the title but it's still showing that title not be blank? I don't know what happens?

Collapse
edo248 profile image
Eduard Babayan

Super helpful :)

Collapse
sanketmaru profile image
Sanket Maru

Happened to me too. Thanks for the post.

Collapse
siddb profile image
Sidd B

Yup, I also missed the attribute published: false, and was wondering if it gets published automatically after following some process like Editorial approval etc.

Collapse
nebulagraph profile image
NebulaGraph

Great to find the post and solve my problem!

Collapse
guillaumechevalier profile image
Guillaume Chevalier

omg, that wasn't obvious at first

Collapse
navkris profile image
navneet

Thanks! I feel stupid now for not noticing it. But that's alright haha!

Collapse
pcameronpresley profile image
Cameron Presley

Just ran into this problem myself, why can't we have a button for publishing?

Collapse
boostuh1 profile image
Kevin Boosten

Haha, thanks for that!