Optional AlphabaseOptional AlphacomponentsThis API is unstable and could change at any time.
OptionalhistoryOptionalkeepWhile Visual Editing is enabled, stega-encoded metadata (invisible characters) is
automatically stripped from clipboard data when content is copied from the page, so copied
text can be pasted into other tools without the hidden characters tagging along.
Set this option to true to opt out and keep stega in copied content.
OptionalonThis event can be used to make sure server side data fetching uses the same client perspective as the Sanity Studio that is driving the visual editing.
OptionalonReports stega payloads found in places where they always cause bugs or bloat, such as
class, href, src, id and other attributes, inside <head> (e.g. <title>),
<script> or <style> contents, form values, or the page URL.
Providing the callback opts in to the detection logic — when it isn't provided no scanning
runs. Reports are deduped and batched, and include the decoded edit info when available so
the source field can be tracked down and cleaned with stegaClean from
@sanity/client/stega.
Optional AlphapluginsThis API is unstable and could change at any time.
OptionalrefreshThe refresh API allows smarter refresh logic than the default location.reload() behavior.
Optional AlphatrailingIf next.config.ts is configured with a trailingSlash we try to detect it automatically,
it can be controlled manually by passing a boolean.
OptionalzThe CSS z-index on the root node that renders overlays, tweak it accordingly to what layout you have.
If next.config.ts is configured with a basePath we try to configure it automatically, you can disable this by setting basePath to ''.