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

Issue-278: In the title block, manually setting a custom title back to the original title does not work #279

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

mogmarsh
Copy link
Collaborator

@mogmarsh mogmarsh commented Jan 13, 2025

Summary:
This PR addresses the issue where manually setting a custom title back to the original title in the title block does not work as expected. Specifically, if a custom title is set for a pinned post and later attempts are made to revert it back to its original title, the changes do not save correctly. The problem seems to be related to the handling of custom titles in the code. Fixes #278

Changes:

  • Modify the title handling logic to ensure that setting a title back to its original value is properly saved.
  • Implemented a fix allowing users to manually reset the custom post title back to its original.

Test Plan:

  1. Pin a post.
  2. Set a custom post title.
  3. Attempt to manually revert the title back to the original title.
  4. Save and refresh to confirm that the title has been successfully reverted to its original form.

Additional Information:

@mogmarsh mogmarsh added bug Something isn't working javascript Requires understanding JavaScript enhancement New feature or request labels Jan 13, 2025
@mogmarsh mogmarsh marked this pull request as ready for review January 13, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request javascript Requires understanding JavaScript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In the title block, manually setting a custom title back to the original title does not work
1 participant