パッケージの詳細

@sanity/visual-editing-csm

sanity-io557.9kMIT2.0.26

[!WARNING] > This package is not meant to be used directly, it's an internal dependency. Using it in production is at your own risk.

readme

Visual Editing

This repository contains packages to enable Visual Editing with Sanity. Visual Editing streamlines everyday content management with an intuitive, one-click path from website preview content to Studio.

Presentation

sanity/presentation is a Sanity Studio plugin that lets you work with content directly through preview — be it a website, in-store display, or anything you can point a browser at.

Vercel Deployment Protection

Use the @sanity/vercel-protection-bypass tool to setup Presentation to use Protection Bypass to successfully load deployments that are protected.

Overlays & router integration

@sanity/visual-editing is used alongside the Presentation tool to create clickable elements to take editors right from previews to the document and field they want to edit. It's also used to two-way sync the preview URL and integrate with your framework router.

Loaders

Loaders provide a convenient, unified way of loading data from Content Lake: A single front end data fetching implementation across production, development and preview states, for both server and client side rendering. They do the heavy lifting in integrating live content updates, perspective switching and Overlay rendering in your application.

Loaders are available for several frameworks:

These framework specific loaders are built on top of @sanity/core-loader, which can be used in any JavaScript-based project.

Preview URL

@sanity/preview-url-secret exposes helpers for integrating draft or preview mode in your application.

更新履歴

Changelog

2.0.26 (2025-10-16)

Bug Fixes

  • handle perspective for "Open in Studio" links (#3259) (39d5369)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.8

2.0.25 (2025-10-15)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.7

2.0.24 (2025-09-05)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.6

2.0.23 (2025-08-01)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.5

2.0.22 (2025-07-24)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.4

2.0.21 (2025-07-21)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to v7 (#3125) (58d123b)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.3

2.0.20 (2025-07-17)

Bug Fixes

  • deps: update dependency @sanity/client to ^7.8.0 (95f2802)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.2

2.0.19 (2025-07-10)

Bug Fixes

  • deps: update dependency @sanity/client to v7.6.0 (#3020) (039b859)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.1

2.0.18 (2025-05-29)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.1.0

2.0.17 (2025-05-07)

Bug Fixes

  • deps: update dependency @sanity/client to v7.1.0 (#2984) (a9f8b89)
  • deps: Update dependency valibot to ^1.1.0 (#2985) (27405cd)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.18

2.0.16 (2025-04-30)

Bug Fixes

  • deps: require peer dependency @sanity/client to ^7.0.0 (de3db1f)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.17

2.0.15 (2025-04-30)

Bug Fixes

  • deps: update dependency @sanity/client to v7 (#2964) (473f7ed)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.16

2.0.14 (2025-04-11)

Bug Fixes

  • deps: update dependency @sanity/client to ^6.29.0 (2a8ff1e)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.15

2.0.13 (2025-04-10)

Bug Fixes

2.0.12 (2025-04-10)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.14

2.0.11 (2025-04-01)

Bug Fixes

  • deps: update dependency @sanity/client to ^6.28.4 (#2884) (be6dca0)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.13

2.0.10 (2025-03-24)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.12

2.0.9 (2025-03-17)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.11

2.0.8 (2025-03-12)

Bug Fixes

  • deps: update dependency @sanity/client to ^6.28.2 (#2779) (6336984)
  • deps: update dependency @sanity/client to ^6.28.3 (#2808) (a2f657d)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.10

2.0.7 (2025-03-03)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.9

2.0.6 (2025-02-24)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.8

2.0.5 (2025-02-17)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.7

2.0.4 (2025-02-10)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.6

2.0.3 (2025-02-07)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.5

2.0.2 (2025-01-28)

Bug Fixes

  • deps: update dependency @sanity/client to ^6.27.2 (#2578) (de598b8)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.4

2.0.1 (2025-01-22)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.3

2.0.0 (2025-01-22)

⚠ BREAKING CHANGES

  • remove DRAFTS_PREFIX export (#2542)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.2

1.0.1 (2025-01-21)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.1

1.0.0 (2025-01-17)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @sanity/visual-editing-types bumped to 1.0.0