plate icon indicating copy to clipboard operation
plate copied to clipboard

Bad typing on LinkElement

Open Feshchenko opened this issue 1 year ago • 0 comments

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
Fund with Polar

Feshchenko avatar Nov 29 '23 11:11 Feshchenko