Skip to content

Commit

Permalink
Merge pull request #7 from vtex-apps/feature/image-upload-widget
Browse files Browse the repository at this point in the history
Add `image-uploader` widget to Image schema definition
  • Loading branch information
victorhmp authored Nov 1, 2019
2 parents a3d7c5e + 8f10f03 commit 032d485
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- `image-uploader` widget to `Image` contentSchema.

## [0.2.1] - 2019-10-24

Expand Down
5 changes: 4 additions & 1 deletion store/contentSchemas.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"src": {
"title": "admin/editor.image.src.title",
"$ref": "app:vtex.native-types#/definitions/url",
"default": ""
"default": "",
"widget": {
"ui:widget": "image-uploader"
}
},
"link": {
"$ref": "app:vtex.native-types#/definitions/link",
Expand Down

0 comments on commit 032d485

Please sign in to comment.