payload-plugin-lexical icon indicating copy to clipboard operation
payload-plugin-lexical copied to clipboard

Tables do not work properly with > 2 editors on one page

Open AlessioGr opened this issue 2 years ago • 3 comments

With >2 editors on one page, they throw errors in the console when hovering over them with a mouse. Might be fixed in next lexical version, which contains major refactors?

Seems to be a lexical bug: https://github.com/facebook/lexical/issues/4157

AlessioGr avatar Mar 20 '23 02:03 AlessioGr

Would you recommend using the experimental table instead? Or is there a risk it will be dropped or dramatically changed in the future?

roydigerhund avatar Apr 20 '23 22:04 roydigerhund

Would you recommend using the experimental table instead? Or is there a risk it will be dropped or dramatically changed in the future?

Honestly not sure - that one is mostly mirrored from the lexical playground. The standard table has been receiving some more updates recently, e.g. background color for cells. However on the other hand, the standard one is based on a deprecated node type, while the experimental is not.

Might be worth asking the lexical team (eg on discord) to know about what their plan / goal is with the experimental table!

AlessioGr avatar Apr 20 '23 22:04 AlessioGr

Ok, thanks for the quick response.

roydigerhund avatar Apr 21 '23 13:04 roydigerhund