API has different max length for feature_image_alt than editor. API 190 / Editor 125 #22023
Open
1 task done
Labels
needs:triage
[triage] this needs to be triaged by the Ghost team
Issue Summary
Updating feature_image_alt over admin API allows 190 characters.
The Editor will only allow 125
A feature_image_alt up to 190 characters is accepted when updating a post at
/admin/posts/{{id}}
When editing the same posts and saving, the error "Update failed: Feature image alt text cannot be longer than 125 characters." is displayed. See screenshot.
Steps to Reproduce
/admin/posts/{{id}}
with string longer than 125 characters, ex { "feature_image_alt" : "The image shows a wet, pink-lit city street with a car in the background and a person in a coat standing in the foreground." }Expecting Editor & admin API to have the same max length, 190 characters
Ghost Version
5.106.1-0-ga963b514+moya
Node.js Version
N/A
How did you install Ghost?
GhostPro
Database type
MySQL 5.7
Browser & OS version
N/A
Relevant log / error output
Code of Conduct
The text was updated successfully, but these errors were encountered: