link-base-kit

PreviousNext
Docs
platecomponent

Preview

Loading preview…
registry/components/editor/plugins/link-base-kit.tsx
import { BaseLinkPlugin } from '@platejs/link';

import { LinkElementStatic } from '@/registry/ui/link-node-static';

export const BaseLinkKit = [BaseLinkPlugin.withComponent(LinkElementStatic)];

Installation

npx shadcn@latest add @plate/link-base-kit

Usage

import { LinkBaseKit } from "@/components/link-base-kit"
<LinkBaseKit />