Sanity Library Reference Docs
Preparing search index...
sanity
index
CopyPasteContextType
Interface CopyPasteContextType
Beta
Hidden
interface
CopyPasteContextType
{
onCopy
:
(
path
:
Path
,
value
:
FormDocumentValue
,
options
:
CopyOptions
,
)
=>
Promise
<
void
>
;
onPaste
:
(
targetPath
:
Path
,
value
:
FormDocumentValue
,
options
:
PasteOptions
,
)
=>
Promise
<
void
>
;
setDocumentMeta
:
(
documentMeta
:
DocumentMeta
)
=>
void
;
}
Index
Properties
on
Copy
on
Paste
set
Document
Meta
Properties
Beta
on
Copy
onCopy
:
(
path
:
Path
,
value
:
FormDocumentValue
,
options
:
CopyOptions
,
)
=>
Promise
<
void
>
Beta
on
Paste
onPaste
:
(
targetPath
:
Path
,
value
:
FormDocumentValue
,
options
:
PasteOptions
,
)
=>
Promise
<
void
>
Beta
set
Document
Meta
setDocumentMeta
:
(
documentMeta
:
DocumentMeta
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
on
Copy
on
Paste
set
Document
Meta
Sanity Library Reference Docs
Loading...
Hidden