Skip to content

Commit

Permalink
feat: Add 'hero' as inferable image field (#3294)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharrisau committed Feb 20, 2020
1 parent 5ea1554 commit 971926c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/netlify-cms-core/src/constants/fieldInference.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const INFERABLE_FIELDS = {
image: {
type: 'image',
secondaryTypes: [],
synonyms: ['image', 'thumbnail', 'thumb', 'picture', 'avatar', 'photo', 'cover'],
synonyms: ['image', 'thumbnail', 'thumb', 'picture', 'avatar', 'photo', 'cover', 'hero'],
defaultPreview: value => value,
fallbackToFirstField: false,
showError: false,
Expand Down

0 comments on commit 971926c

Please sign in to comment.