DocumentPasteEdit

An edit the applies a paste operation.

Online Documentation

Constructors

Link copied to clipboard
constructor(insertText: String, title: String, kind: DocumentDropOrPasteEditKind)

Create a new paste edit.

constructor(insertText: SnippetString, title: String, kind: DocumentDropOrPasteEditKind)

Properties

Link copied to clipboard

An optional additional edit to apply on paste.

Link copied to clipboard
external var insertText: JsAny

The text or snippet to insert at the pasted locations.

Link copied to clipboard

Kind of the edit.

Link copied to clipboard
external var title: String

Human readable label that describes the edit.

Link copied to clipboard

Controls ordering when multiple paste edits can potentially be applied.