@mocanvas/editor · interface

TLClipboardWriteInfo

interface TLClipboardWriteInfo

What is being written to the clipboard, before it is written.


Properties · 4

content?: unknown

The serialized canvas content, or undefined when only text is going out.

html?: string

HTML form of the same selection.

isCut: boolean

Whether the selection is being removed as well as copied.

text?: string

Plain-text form of the same selection.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.