Components
Media File Element
Media File Element
Renders a file element with download functionality and caption support.
API ReferenceBlock Context MenuBlock MenuBlock SelectionButtonCaptionColor Dropdown MenuDropdown MenuInputMenuPlate ElementPopoverToolbarTooltipTurn Into Dropdown Menu
Installation
Install the following dependencies:
npm install @udecode/plate-media @udecode/plate-resizable lucide-react @udecode/plate-selection @udecode/plate-caption @radix-ui/react-slot @radix-ui/react-tooltip @udecode/plate-font @radix-ui/react-toolbar @radix-ui/react-dropdown-menu @udecode/plate-block-quote @udecode/plate-callout @udecode/plate-code-block @udecode/plate-heading @udecode/plate-indent-list @udecode/plate-toggle @ariakit/[email protected] @radix-ui/react-popover