Skip to main content

Module: @lexical/react/LexicalAutoEmbedPlugin

Classes

Interfaces

Type Aliases

EmbedMatchResult

Ƭ EmbedMatchResult<TEmbedMatchResult>: Object

Type parameters

NameType
TEmbedMatchResultunknown

Type declaration

NameType
data?TEmbedMatchResult
idstring
urlstring

Defined in

packages/lexical-react/src/LexicalAutoEmbedPlugin.tsx:36

Variables

INSERT_EMBED_COMMAND

Const INSERT_EMBED_COMMAND: LexicalCommand<EmbedConfig["type"]>

Defined in

packages/lexical-react/src/LexicalAutoEmbedPlugin.tsx:59


URL_MATCHER

Const URL_MATCHER: RegExp

Defined in

packages/lexical-react/src/LexicalAutoEmbedPlugin.tsx:56

Functions

LexicalAutoEmbedPlugin

LexicalAutoEmbedPlugin<TEmbedConfig>(«destructured»): JSX.Element | null

Type parameters

NameType
TEmbedConfigextends EmbedConfig<unknown, EmbedMatchResult<unknown>>

Parameters

NameType
«destructured»LexicalAutoEmbedPluginProps<TEmbedConfig>

Returns

JSX.Element | null

Defined in

packages/lexical-react/src/LexicalAutoEmbedPlugin.tsx:89