Skip to content

rijk/visual-editing

This branch is 1539 commits behind sanity-io/visual-editing:main.

Folders and files

NameName
Last commit message
Last commit date
Feb 15, 2024
Feb 26, 2024
Feb 26, 2024
Sep 13, 2023
Jan 18, 2024
Sep 4, 2023
Sep 8, 2023
Feb 26, 2024
Jan 2, 2024
Feb 5, 2024
Dec 4, 2023
Feb 26, 2024
Feb 26, 2024
Sep 4, 2023
Feb 2, 2024
Dec 4, 2023

Repository files navigation

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.

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.

Packages

No packages published

Languages

  • TypeScript 92.8%
  • Vue 3.0%
  • Svelte 2.5%
  • Other 1.7%