NOTE This is for the Studio v2 version of the plugin
There is a Studio v3 specific version in the studio-v3 branch
A helper function that renders a custom input component for writing localised fields of content into an array.
| /** | |
| * Constants. | |
| */ | |
| const IS_MAC = ( | |
| typeof window != 'undefined' && | |
| /Mac|iPod|iPhone|iPad/.test(window.navigator.platform) | |
| ) |
| // Run these snippets from your DevTools console | |
| const {default: createClient} = await import('https://unpkg.com/@sanity/client@esm/dist/sanityClient.browser.mjs') | |
| const client = createClient({projectId: '81pocpw8', dataset: 'production'}) | |
| // Get all v3 ready plugins | |
| await client.fetch(`*[studioVersion == 3 || defined(v3DistTag)].packageName`) | |
| // Get v3 only, the listing never had a v2 version | |
| await client.fetch(`*[studioVersion == 3 && studioV2Support == ""]`) |
NOTE This is for the Studio v2 version of the plugin
There is a Studio v3 specific version in the studio-v3 branch
A helper function that renders a custom input component for writing localised fields of content into an array.
Tutorial and tips for GitHub Actions workflows
| name: Create Release Branch | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| versionName: | |
| description: 'Name of version (ie 5.5.0)' | |
| required: true | |
| versionCode: | |
| description: 'Version number (50500)' | |
| required: true |
This example is using Remix.
More information on the header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion
This example is using Remix.
More information on the header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Sec-CH-Prefers-Reduced-Motion