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] Bulletted list, Numbered list and check list are not working inside tables #511

Closed
sanuradhag opened this issue Jun 25, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@sanuradhag
Copy link
Contributor

Can not insert a bulleted list, numbered list, or a checklist inside a table cell.

@sanuradhag sanuradhag added the bug Something isn't working label Jun 25, 2024
@petyosi
Copy link
Contributor

petyosi commented Jun 25, 2024

How would that look in markdown? Not sure that the table syntax supports nesting block elements in the table cells.

@sanuradhag
Copy link
Contributor Author

We could do something like this. And we need to include LexicalListPlugin in the TableEditor Component (here) to have lists inside the table cells.And might need to refactor the nested editor's commands to support TAB and ENTER keys.

Screen Shot 2024-06-26 at 09 23 20 AM
Screen Shot 2024-06-26 at 09 23 05 AM

@petyosi
Copy link
Contributor

petyosi commented Jun 26, 2024

But is this a markdown that a vanilla markdown parser (e.g. the GitHub comment box) would understand?

@petyosi
Copy link
Contributor

petyosi commented Jul 2, 2024

Closing this. I don't think that block content can be nested in table cells. https://stackoverflow.com/questions/19950648/how-to-write-lists-inside-a-markdown-table

@petyosi petyosi closed this as not planned Won't fix, can't repro, duplicate, stale Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants