After link submission error is thrown #4677
Replies: 2 comments 1 reply
-
Hi @VelociraptorCZE! I'm Dosu and I’m helping the plate team. Your setup is almost correct, but the error means a component using Plate hooks (like LinkFloatingToolbar or LinkElement) is being rendered outside the Plate context. This usually happens if:
Check that:
See more details and troubleshooting steps in the docs and official Plate link docs. If you still see the error after these checks, try creating a minimal reproduction with only Plate and required dependencies to isolate the cause. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
Hi, @VelociraptorCZE
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I use generated link-toolbar-button component:
This is my editor:
EditorKit:
LinkKit:
When I try to submit a link, it throws an error, refer to logs. Button and floating bar is rendered as it should. Am I doing something wrong?
Plate version
49.2.21
Slate React version
0.117.4
Logs
Beta Was this translation helpful? Give feedback.
All reactions