styledTextEditorField + DOCX generation issues with nested ordered lists

Hi everyone,

I’m trying to create a nested ordered list in the following format:

However, I’m facing two issues.

Issue 1: styledTextEditorField flattens the nested list formatting

Instead of rendering a proper second-level indentation, the styledTextEditorField flattens it into something like:

Here is the HTML I’m using:

<ol start="2">
    <li>
        <ol type="a">
            <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</li>
            <li>Praesent ac lorem non risus gravida accumsan.</li>
        </ol>
    </li>
</ol>

It seems the component does not support nested <ol> indentation.
Is there any workaround to make the nested list (“a.”, “b.”) render correctly inside styledTextEditorField?

Issue 2: When generating a DOCX, the parent number “2.” disappears

When I generate a DOCX from the same HTML, the output becomes:

The parent number “2.” disappears entirely.
Has anyone encountered this behavior, and is there a way to ensure the parent numbering is preserved when generating a DOCX?

  Discussion posts and replies are publicly visible