plate icon indicating copy to clipboard operation
plate copied to clipboard

unable to use link form a table

Open pawelkorzistka opened this issue 1 year ago • 1 comments

Description

When we paste a link into a table we are unable to use it. When clicking on go to icon, nothing happens, please see recording

Steps to Reproduce

https://github.com/udecode/plate/assets/160043045/0f8a0a84-89b4-40dd-a001-01a89a1848bd

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

pawelkorzistka avatar Apr 22 '24 12:04 pawelkorzistka

This is because a div inside the table cell element has z-20, but the link popover only has z-index 1.

https://github.com/udecode/plate/blob/6975483825a45b987788373a53a91493501ecefb/apps/www/src/registry/default/plate-ui/table-cell-element.tsx#L82

https://github.com/udecode/plate/blob/6975483825a45b987788373a53a91493501ecefb/packages/link/src/components/FloatingLink/useFloatingLinkInsert.ts#L128

12joan avatar Apr 22 '24 13:04 12joan

@felixfeng33 Can I resolve this issue?. If it's okay, can you assign to me?

jijiseong avatar May 19 '24 00:05 jijiseong

We don't use GitHub assigns but PR's welcome

zbeyens avatar May 19 '24 00:05 zbeyens