# Add list items to table cell

**URL:** https://discuss.prosemirror.net/t/add-list-items-to-table-cell/3773
**Category:** Uncategorized
**Created:** [May 17, 2021, 7:45am UTC](https://discuss.prosemirror.net/t/add-list-items-to-table-cell/3773 "2021-05-17T07:45:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sie](https://discuss.prosemirror.net/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@sie](https://discuss.prosemirror.net/u/sie)
#### Post date: [May 17, 2021, 7:45am UTC](https://discuss.prosemirror.net/t/add-list-items-to-table-cell/3773/1 "2021-05-17T07:45:56Z")

</div>

Hi! I want to allow using list items inside table cells. As I understand, I just need to modify cellContent option but it doesn’t work (reason - `Invalid content for node table_cell`)

```
nodes = nodes
  .append(
    tableNodes({
      tableGroup: "block",
      cellContent:
        "(paragraph | heading) (ordered_list | bullet_list)* block*",
    })
  )

```

What I am doing wrong?

---

<div class="post-metadata">

### Author: ![sie](https://discuss.prosemirror.net/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@sie](https://discuss.prosemirror.net/u/sie)
#### Post date: [May 17, 2021, 8:23am UTC](https://discuss.prosemirror.net/t/add-list-items-to-table-cell/3773/2 "2021-05-17T08:23:59Z")

</div>

Just need to rewrite it as:

`cellContent: "(paragraph | heading | bullet_list)* block*"`
