Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Tables do not work if there are 2 or more lexical editors on one page #4157

Closed
AlessioGr opened this issue Mar 20, 2023 · 4 comments
Closed
Assignees
Labels
all-platforms-bug tables Relates to Lexical Tables

Comments

@AlessioGr
Copy link
Contributor

When there are 2 or more lexical editors on one page, the table throws a "TableCellResizer: Table cell node not found." error if you hover over it with your mouse.

Lexical version: 0.9.0

Steps To Reproduce

  1. Have 2 editors in one page (as seen in the playground of https://github.com/AlessioGr/lexical/tree/two-editors)
  2. place a table and hover over it

Link to code example: https://github.com/AlessioGr/lexical/tree/two-editors

@AlessioGr AlessioGr changed the title Bug: Tables do not work if there are 2 ore more lexical editors on one page Bug: Tables do not work if there are 2 or more lexical editors on one page Mar 20, 2023
@AlessioGr
Copy link
Contributor Author

https://github.com/AlessioGr/lexical/blob/2adbe542f79cb952acc6ff1ab1b85fd4ad0a53cf/packages/lexical-playground/src/App.tsx#L163

That's how I use 2 editors on one page. This is relevant for me, as I need to be able to have multiple fully functional lexical editors on one page, without them knowing about each other.

@Othman-dev
Copy link

Othman-dev commented Sep 13, 2023

Is there an answer somewhere regarding this issue, I am facing the exact same issue on my end thought updating would solve but using 12.2 (was 10.0), still issue persists.
Kind of the same setup I have multiple lexical editor on top of each other but they are not in the same parents, even though they come from mapping an array so they follow one another on my screen.

@zawraz
Copy link

zawraz commented Jul 15, 2024

Hey @zurfyx!

Is this issue planned to be resolved any time soon? It's quite a common use case to have multiple editors within one page in an application.

@ivailop7
Copy link
Collaborator

I believe this was fixed in here: #6416 can someone confirm this is no longer an issue?

@ivailop7 ivailop7 assigned ivailop7 and unassigned zurfyx Aug 21, 2024
@ivailop7 ivailop7 closed this as completed Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all-platforms-bug tables Relates to Lexical Tables
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants