gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Flow Content in list elements

Open fisicx opened this issue 9 years ago • 4 comments

The W3C spec states that an LI can contain any flow content: http://www.w3.org/TR/html5/grouping-content.html#the-li-element

No matter how I try I cant do this with Gutenberg.

I want a list where each LI has an H3, content and an Image. I can create this list in text view but once the post has updated everything gets stripped - even the list content disappears

fisicx avatar Sep 20 '17 16:09 fisicx

There's a blocker for this in how we approach handling nested content (which includes the UI flow for inserting things within a list, like images, headings, etc).

We might still make it work if you edit HTML directly in the meantime.

mtias avatar Sep 20 '17 16:09 mtias

Related #2747.

mtias avatar Sep 20 '17 17:09 mtias

I was editing the HTML - that's how I added the content to the list elements. The post saved correctly but switching between text/visual strips the markup

fisicx avatar Sep 20 '17 18:09 fisicx

Consolidating in #539.

mtias avatar Nov 20 '17 14:11 mtias