AlessioGr / payload-plugin-lexical

Extends payload CMS with Meta's lexical RichText editor - a much more advanced and customizable richtext editor
MIT License
149 stars 6 forks source link

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

Open AlessioGr opened 1 year ago

AlessioGr commented 1 year ago

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

roydigerhund commented 1 year ago

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

AlessioGr commented 1 year ago

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!

roydigerhund commented 1 year ago

Ok, thanks for the quick response.