diff --git a/client/src/components/content-block-form/helpers.js b/client/src/components/content-block-form/helpers.js index bd5841c3..51e8c99a 100644 --- a/client/src/components/content-block-form/helpers.js +++ b/client/src/components/content-block-form/helpers.js @@ -11,6 +11,13 @@ export const simplifyContents = (contents) => { if (USER_CONTENT_TYPES.includes(c.type)) { return c; } + console.log(c); + if (c.type === 'content_list_item') { + return { + ...c, + contents: simplifyContents(c.contents) + }; + } return { id: c.id, type: 'readonly'