-
I have installed plate js to use with remix js by following docs guide. But after following all steps I get following problem. this is how I called it in remix js. If I comment out PlateEditor then the problem goes away.
Folder structure package.json
plate-component.json
I also have shadcn/ui installed previously components.json
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Solved it.In
Inside then render the |
Beta Was this translation helpful? Give feedback.
Solved it.
In
remix js
we have to write file name this following way to render entire component on the client,Plate-Editor.tsx
❌Plate-Editor.client.tsx
✔️Inside
tooltip.tsx && draggable.tsx
(components/plate-ui)
<Tooltip/>
must be inside<TooltipProvider/>
.then render the
<EditorComponent>
inside<ClientOnly />
fromremix-utils/client-only