Skip to content
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

Add conditional for preserving lang metadata #435

Merged
merged 1 commit into from Apr 6, 2021

Conversation

cjeller1592
Copy link
Contributor

This PR fixes #280 — if a post is updated, it will retain the language metadata rather than reset back to English.


  • I have signed the CLA

This makes it so that if a post is updated, it will retain the language metadata rather than revert back.
Copy link
Member

@thebaer thebaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes it, thanks @cjeller1592! I think we could clean up the style a bit to prevent errors in the future, but I think it's good to merge now.

@thebaer thebaer added this to the 0.13 milestone Apr 6, 2021
@thebaer thebaer merged commit e58e457 into writefreely:develop Apr 6, 2021
thebaer added a commit that referenced this pull request Apr 6, 2021
thebaer added a commit that referenced this pull request Apr 6, 2021
This fixes #280 in all editors, continuing work from #435.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Language metadata gets reset to English after editing a post
2 participants