DocumentDropEdit

An edit operation applied on drop.

Online Documentation

Constructors

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

Properties

Link copied to clipboard

An optional additional edit to apply on drop.

Link copied to clipboard
external var insertText: JsAny

The text or snippet to insert at the drop location.

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 the ordering or multiple edits. If this provider yield to edits, it will be shown lower in the list.