Media Placeholder Element
Renders a placeholder for various media types with upload functionality.
MediaBlock Context MenuBlock MenuBlock Menu ItemsBlock SelectionButtonColor Dropdown MenuDropdown MenuInputMenuPlate ElementPopoverSeparatorSpinnerTabsToolbarTooltipTurn Into Dropdown Menu
Installation
Install the following dependencies:
npm install @udecode/plate-media use-file-picker [email protected] @uploadthing/[email protected] sonner zod @udecode/plate-selection @udecode/plate-ai @udecode/plate-caption @udecode/plate-comments @udecode/plate-font @radix-ui/react-toolbar @radix-ui/react-tooltip @radix-ui/react-separator @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 @udecode/plate-date @udecode/plate-layout @udecode/plate-math @udecode/plate-table @ariakit/[email protected] @radix-ui/react-slot @radix-ui/react-popover @radix-ui/react-tabs