New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata editing not enabled by default #658
Comments
@nslater The logic for the metadata button is in https://github.com/prose/prose/blob/master/app/views/file.js#L507-523, which looks like it should show the button if a document is a Markdown file within the |
Yep, I'm just creating a regular static site with Jekyll. Not a blog. So I don't have a _posts directory. |
From that logic, it looks like if I were to have some defaults defined, then the metadata button would appear. But I am unable to figure out how to add defaults for the top level directory. Is it possible? |
This doesn't seem to be working. I used the following config:
Then I created the following directories: After reloading the Prose interface, I then I tried the following three actions:
And I observed the following:
I am using the hosted version of Prose. |
Oops! Heh. |
@nslater Try |
Ooh, that works now. Thanks! One remaining issue: is there a configuration option to turn on metadata editing and the Published button? I would like to enable this for all top-level files. (One way is to configure a metadata default for the top-level files. But this doesn't make the Published button show up. You have to save the file first and then refresh to see it.) |
Hello and thank you for this issue report. There have been several point releases in Prose since this issue was opened and there has not been much discussion here. I wanted to ask if you could please assist in confirming this is still an issue in the latest version of the product. If it is fixed, please close this issue :-) Also, if possible could you please
Since this project is looking for new maintainers (#743), it will be helpful if users can double check the old issues and delete ones that are fixed. This will be super helpful for the new team that works on moving this project forward. I'm sorry this message is impersonal. And thanks for your help! |
Main issue here is closed. Tracking the published button/metadata editor issue in #869 |
When I create a new Markdown document, the metadata button on the right is not enabled by default. Nor is the "Published" button, which operates on the metadata.
If I edit an existing document with a pre-existing front matter, these UI elements are made available.
But I'd like them to be made available by default with new documents.
I had a look at the configuration options, and I think there might be a way to get this working for files that live under a directory. But I am trying to do this for files that live in the top level directory.
The text was updated successfully, but these errors were encountered: