Components
Media Placeholder Element
Media Placeholder Element
Renders a placeholder for various media types with upload functionality.
API ReferenceBlock Context MenuBlock MenuBlock SelectionButtonColor Dropdown MenuDropdown MenuInputMenuPlate ElementPopoverTabsToolbarTooltipTurn Into Dropdown Menu
Installation
Install the following dependencies:
npm install @udecode/plate-media lucide-react use-file-picker @udecode/plate-selection @udecode/plate-caption @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-slot @radix-ui/react-tooltip @radix-ui/react-popover @radix-ui/react-tabs