Use the LinkFloatingToolbar to prompt useEditorRef must be used inside a Plate or PlateController #3179
Replies: 4 comments 3 replies
-
This is probably a dependency issue. Could you update all plate deps to latest? |
Beta Was this translation helpful? Give feedback.
-
It does not seem to be the version cause, I have installed the latest related dependencies
|
Beta Was this translation helpful? Give feedback.
-
i cloned the official playground to get the relevant link code, and re-executed pnpm i, which has been running normally, which is very exciting. But now there is a problem that is not a bug, but a problem of user experience. On the mobile side, users may not know that they need to press enter to confirm. I added a confirmation button via the API and wanted to add a cancel button for the link float toolbar, but I can't seem to find the right API to hide the float toolbar |
Beta Was this translation helpful? Give feedback.
-
|
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 wanted to insert a link in insertmenu and interact with it using the LinkFloatingToolbar, but an unexpected error occurred
Steps to Reproduce
Sandbox
Expected Behavior
Links can be inserted, and a floating window is displayed
Environment
Bounty
Click here to add a bounty via Algora.
Funding
Beta Was this translation helpful? Give feedback.
All reactions