List v2 + RichText: allow trailing non editable content #41628
Labels
[Block] List
Affects the List Block
[Feature] Rich Text
Related to the Rich Text component that allows developers to render a contenteditable
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
When nesting another list in a list item, this list is inserted inside the list item. Ideally this list item text should also be editable. To work around this, we wrapped the text in an editable div, but ideally we shouldn't have to do that.
The markup should look as follows:
The current markup is this:
What is your proposed solution?
It will require modifying RichText so we can pass a before/after prop containing the element to render before or after the text.
The text was updated successfully, but these errors were encountered: