unable to use link form a table
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
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
@felixfeng33 Can I resolve this issue?. If it's okay, can you assign to me?
We don't use GitHub assigns but PR's welcome