Function: htmlTransferPlugin()

July 5, 2026 ยท View on GitHub

API


Function: htmlTransferPlugin()

htmlTransferPlugin<T>(editor, options): void

Defined in: plugins/transfer/htmlTransfer.ts:128

A plugin to handle copying / pasting HTML

Type Parameters

T

T extends DocNode

Parameters

editor

Editor<T>

options

serializers

HtmlSerializers<T>

Returns

void

Contents

  1. 1Type Parameters
  2. 1.1T
  3. 2Parameters
  4. 2.1editor
  5. 2.2options
  6. 3Returns