plate
plate copied to clipboard
Bad typing on LinkElement
Description
After generating LinkElement you get code with any
https://github.com/udecode/plate/blob/main/apps/www/src/registry/default/plate-ui/link-element.tsx#L22
Steps to Reproduce
- run any command to generate a link element https://platejs.org/docs/components/link-element#installation
- code has
{...(props as any)}
Sandbox
https://codesandbox.io/p/devbox/plate-link-bug-vg37y3?file=%2Fsrc%2Fcomponents%2Fplate-ui%2Flink-element.tsx%3A22%2C26
Expected Behavior
LinkElement component doesn't have any
in the code
Environment
- slate:
- slate-react:
- browser: chrome
Bounty
Click here to add a bounty via Algora.
Funding
- You can sponsor this specific effort via a Polar.sh pledge below
- We receive the pledge once the issue is completed & verified