Docs
Installation
Installation
Installation guide for shadcn tiptap.
Install core packages
Install ToolbarProvider
component
ToolbarProvider
accepts editor as a prop and serves it to its children using react context.
Think of this as a provider for your toolbar components.
Install with shadcn
cli:
Or manually copy & paste, the following code under components/toolbars/toolbar-provider.tsx
.
Copy & paste the following code under src/app/globals.css
.
It's important to be careful about what class names you use for the editor.