Skip to main content

copy

Documentation / editor/modules/copy

CopyData​

Defined in: editor/modules/copy.ts:15

Properties​

PropertyTypeDefined in

html?

string

editor/modules/copy.ts:17

selection?

EditorRange

editor/modules/copy.ts:18

text?

string

editor/modules/copy.ts:16


CopyOptions​

Defined in: editor/modules/copy.ts:10

Properties​

PropertyTypeDefined in

copyHTML?

boolean

editor/modules/copy.ts:12

copyPlainText?

boolean

editor/modules/copy.ts:11


copy()​

function copy(editor: Editor, options: CopyOptions): object;

Defined in: editor/modules/copy.ts:23

Parameters​

ParameterTypeDefault value

editor

Editor

undefined

options

CopyOptions

defaultOptions

Returns​

object

NameTypeDefined in

commands

{ getCopy: (selection?: EditorRange) => object; }

editor/modules/copy.ts:61

destroy()

() =>

editor/modules/copy.ts:68

init()

() =>

editor/modules/copy.ts:64