sanity-plugin-json-input
v0.1.0
Published
Ace editor for objects in sanity
Downloads
695
Maintainers
Readme
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.