-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Description
Issue Summary
In the post editor is the tag dropdown at the side that allows you to add tags to a post - whether creating new or using an existing tag. When editing a post, if you remove a tag from the post, the tag is also removed from the drop-down selection. So if the tag was removed unintentionally, the only way to add the tag back into the post is to exit the post editor and re-open the post.
So expected behavior is all available tags are always available in the drop-down unless they're already linked to the post.
Strangely, though, the issue is NOT reproducible when...
Editing a new post. The post must be a saved draft or published post. When editing a new post, you can add and remove tags as expected and the tags you remove are not removed from the tags drop-down. It is only when editing tags for a draft or published post that this is reproducible. But...
Removing the tag without first expanding the drop-down. You must expand the Tags drop-down first. If you remove the tag (clicking the X on a tag bubble while hovering over it) without first expanding the drop-down, the removed tag is available in the drop down to be re-added.
Even more bizarre.... remove the tag without first expanding the drop-down and the issue is not reproducible at all. You can remove and re-add the tag to your heart's content.
Steps to Reproduce
- Open an existing published/draft post with tags in the editor
- Expand the post settings at right
- Click into the Tags selector or click down-arrow. Drop-down menu appears showing all available tags.
- Delete one of the tags. Drop-down menu closes and tag is removed from those linked to the post.
- Click back into the tags area or click down arrow at right of Tags.
Expected behavior: Tag removed in step 4 is available to be added back onto the post.
Observed behavior: Tag removed in step 4 is not available. The tag will not become available again until the editor is closed and re-opened.
Ghost Version
6.1.0
Node.js Version
22.20
How did you install Ghost?
AWS host running Amazon Linux 2023
Database type
MySQL 8
Browser & OS version
Brave 1.82.172, WIndows 11
Relevant log / error output
Code of Conduct
- I agree to be friendly and polite to people in this repository