Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Add default alt text to img #4887

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

aszx87410
Copy link
Contributor

Status

  • WIP
  • Ready for review
  • Needs testing

Deploy after merge (delete what needn't be deployed)

  • hyperion (frontend)

Related issues (delete if you don't know of any)
Closes #4812

When user uploads the image, the system already automatically set image alt by file name. But for some edge cases there might not have alt text and we need to set a default value, otherwise it breaks the layout. You can find more details on the issue: Weird image failed rendering in thread body

Before:
螢幕快照 2019-03-21 下午9 45 37

After:
螢幕快照 2019-03-21 下午9 45 56

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants