-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Issue: Slug field gets erased in Front Matter CMS when focusing on Markdown #813
Comments
Thanks, @steelcoder, for opening an issue. This should not be happening indeed, can you share a bit more information, like your configuration and page contents or project/repo? That way I can try to reproduce it on my end to check what is going on. |
Dear Elio,
Thank you for your prompt response. I'd be happy to provide more details
about our setup to help diagnose the issue.
We use a custom tool to package and publish, and our articles have the
following structure:
- <workspace>
- .frontmatter
- <one directory per article>
- <article title>.md (type: default)
- doc
- <article title> (doc).md (type: doc)
For your reference, I am attaching our configuration file (JSON format) to
this email.
Please let me know if you need any further information or clarification.
Regards,
Yoann.
Le ven. 24 mai 2024 à 16:24, Elio Struyf ***@***.***> a
écrit :
… Thanks, @steelcoder <https://github.com/steelcoder>, for opening an
issue. This should not be happening indeed, can you share a bit more
information, like your configuration and page contents or project/repo?
That way I can try to reproduce it on my end to check what is going on.
—
Reply to this email directly, view it on GitHub
<#813 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAILI2SZZ6VSMVGBHNNFQODZD5ETDAVCNFSM6AAAAABIHVR4G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRZGY2TOMJRGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Yoann PANTIC
|
@steelcoder, it seems that the attachment has been removed. It would be better to reply to the GitHub issue itself. Besides that, would you be able to record a short video to see what the behavior is? |
{ |
@steelcoder I checked the configuration. The reason there is an update when you open the panel is the Screen.Recording.2024-05-24.at.21.16.42.mov |
No, the slug were filled and was deleted.
Yoann PANTIC
Le ven. 24 mai 2024 à 21:18, Elio Struyf ***@***.***> a
écrit :
… @steelcoder <https://github.com/steelcoder> I checked the configuration.
The reason there is an update when you open the panel is the default
property, which is set on the slug field. The update only happens when
there is no slug set on the page.
https://github.com/estruyf/vscode-front-matter/assets/2900833/dbf851df-8c78-4514-830e-310076e5a56a
—
Reply to this email directly, view it on GitHub
<#813 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAILI2T53SGO6YI2UQBEOITZD6G7LAVCNFSM6AAAAABIHVR4G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQGIYTEMJVGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I'm not able to reproduce it, would you be able to give me some sample data/files? Would you be able to record the file update like I did? |
@steelcoder, do you have an update for me? |
Hello, no but the bug is still present for me.
Yoann PANTIC
Le mar. 28 mai 2024 à 13:53, Elio Struyf ***@***.***> a
écrit :
… @steelcoder <https://github.com/steelcoder>, do you have an update for me?
—
Reply to this email directly, view it on GitHub
<#813 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAILI2VIIQFAUQAXEFXD3SLZERV2RAVCNFSM6AAAAABIHVR4G2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGAZTAMRWGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@steelcoder, that is what I thought. It was more on the questions I asked before: I'm unable to reproduce it. Would you be able to give me some sample data/files? Would you be able to record the file update like I did? |
Closing the issue due to no response. |
Describe the bug
When Front Matter CMS obtains focus while a Markdown file is open, even though fields are properly filled, it tends to erase the slug, resulting in the file being modified.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The file should remain unchanged, but properties should be loaded in the Metadata section.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: