Skip to main content

Module: @lexical/react/LexicalDraggableBlockPlugin

Functions

DraggableBlockPlugin

DraggableBlockPlugin(«destructured»): JSX.Element

Parameters

NameTypeDefault value
«destructured»Objectundefined
› anchorElem?HTMLElementdocument.body
› isOnMenu(element: HTMLElement) => booleanundefined
› menuComponentReactNodeundefined
› menuRefRefObject<HTMLElement>undefined
› targetLineComponentReactNodeundefined
› targetLineRefRefObject<HTMLElement>undefined

Returns

JSX.Element

Defined in

packages/lexical-react/src/LexicalDraggableBlockPlugin.tsx:432