Skip to content

Add an experimental Table component in React - #2929

Merged
trueadm merged 6 commits into
mainfrom
new-table-component
Sep 6, 2022
Merged

trueadm merged 6 commits into
mainfrom
new-table-component

Conversation

@trueadm

@trueadm trueadm commented Sep 1, 2022 •

Copy link
Copy Markdown
Collaborator

This PR adds an experimental React-based table implementation to the playground. It aims to emulate all the existing behavior of the current table implementation – without needing to features in core, and without suffering some of the drawbacks that come from having a pure Lexical implementation (lack of sorting, filtering etc). The only downside is that collaboration's behavior is now slightly less than optimal, as cursors no longer show within the tables.

This PR doesn't remove or alter the existing table implementation, so it should be fine to play with in isolation.

@vercel

vercel Bot commented Sep 1, 2022 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Sep 6, 2022 at 3:55PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Sep 6, 2022 at 3:55PM (UTC)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 1, 2022
@trueadm
trueadm force-pushed the new-table-component branch from 71e9adb to 9de5e0c Compare September 2, 2022 11:07
Add an experimental Table component in React

Add an experimental Table component in React

WIP

Fix

Fix

Fix

Fix

Fix

Ensure editor states are cloned if read only

Fix

Fix

Fix

Fix

Fix HMR

Add table controls

More fixes

Many fixes

WIP

Fixes

Fix bugs + prettier

This branch was successfully deployed

2 active deployments
Preview – lexical-playground — d5ca5027 Deployed Sep 6, 2022 by vercel[bot]
Preview – lexical — d5ca5027 Deployed Sep 6, 2022 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants