-
DescriptionI forked this below template on my side. I was trying to implement Plate Editor(readOnly) on the other page, but I got this issue. https://github.com/udecode/plate/tree/main/templates/plate-playground-template This is the snippet of my code.
Funding
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
As stated by the error message, you must render |
Beta Was this translation helpful? Give feedback.
-
Oh, I found that I had to involve |
Beta Was this translation helpful? Give feedback.
-
I just ran into a problem with'TooltipProvider 'today. I got an error in the Installation step in 'https://platejs.org/'. Because'TooltipProvider 'is missing from the documentation, I spent repeated installation time to confirm my problem.
export function PlateEditor() {
return (
<DndProvider backend={HTML5Backend}>
<CommentsProvider users={{}} myUserId="1">
+ <TooltipProvider>
<Plate plugins={plugins} initialValue={initialValue}>
<FixedToolbar>
<FixedToolbarButtons />
</FixedToolbar>
<Editor />
<FloatingToolbar>
<FloatingToolbarButtons />
</FloatingToolbar>
<CommentsPopover />
</Plate>
+ </TooltipProvider>
</CommentsProvider>
</DndProvider>
);
} |
Beta Was this translation helpful? Give feedback.
As stated by the error message, you must render
TooltipProvider
in your app.