Sanitize one untrusted clipboard/snapshot value without cloning its object graph.
- Package
@sheetwrite/core
- Source
packages/core/src/hyperlink.ts#L232
Declaration
function sanitizeCellHyperlink(value: unknown): CellHyperlinkinterface CellHyperlink {
id: string;
range: Range;
target: HyperlinkTarget;
display?: string;
style?: CellStyle;
}interface CellHyperlink {
id: string;
range: Range;
target: HyperlinkTarget;
display?: string;
style?: CellStyle;
}interface CellHyperlink {
id: string;
range: Range;
target: HyperlinkTarget;
display?: string;
style?: CellStyle;
}Bounded serializable hyperlink metadata applied to one cell or range.API reference → | null