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.

/sanity-plugin-json-input/

    Package Sidebar

    Install

    npm i sanity-plugin-json-input

    Weekly Downloads

    239

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    16.4 kB

    Total Files

    10

    Last publish

    Collaborators

    • kristofferj