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

Adding alt_text and custom_thumbnail to post form. #2404

Merged
merged 6 commits into from
Apr 4, 2024

Conversation

dessalines
Copy link
Member

Description

This adds the alt_text and custom_thumbnail_fields recently added to post forms.

Screenshots

Screenshot_20240403_202330_Via_1

@@ -364,6 +380,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
<div className="col-sm-10">
<input
type="url"
placeholder={I18NextService.i18n.t("optional")}
Copy link
Member Author

Choose a reason for hiding this comment

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

Also added optional to a lot of these fields, to make it more clear, especially since these new ones aren't required.

@dessalines
Copy link
Member Author

Also just added a check to hide the custom_thumbnail_url field if its an image post.

@SleeplessOne1917 SleeplessOne1917 merged commit 9aa1e06 into main Apr 4, 2024
2 checks passed
@SleeplessOne1917 SleeplessOne1917 deleted the add_alt_text branch April 4, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants