sanity-plugin-json-input

0.1.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    273
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    273

Package Sidebar

Install

npm i sanity-plugin-json-input

Weekly Downloads

273

Version

0.1.0

License

MIT

Unpacked Size

16.4 kB

Total Files

10

Last publish

Collaborators

  • kristofferj