0.1.0 • Published 5 years ago
sanity-plugin-json-input v0.1.0
sanity-plugin-json-input
Edit objects with JSON in Sanity.
Installation
sanity install json-input
Usage
Use it in your schema types:
// [...]
{
fields: [
// [...]
{
name: 'myObject',
title: 'Object with custom fields',
type: 'json'
}
]
}
Note that the above only works if you import and use the all:part:@sanity/base/schema-type
part in your schema.
License
MIT-licensed. See LICENSE.
0.1.0
5 years ago