-
Notifications
You must be signed in to change notification settings - Fork 73
Description
Summary
Fix list indicator (bullet/number) positioning when a list with hanging indent is inside a table cell.
Problem
When a list inside a table has a hanging indent, the list indicator incorrectly renders at the hanging indent position instead of staying at the
left margin. Word keeps the indicator at the left edge while starting list content at the hanging indent.
Repro
- Open attached docx in SuperDoc.
- The first table contains a list with hanging indent — the indicator is misaligned.
- Compare with the second item (list not in table) and third item (table with no list) which render correctly.
Expected
The list indicator remains at the left margin of the cell, and list content starts at the hanging indent position, matching Word's behavior.
Notes
The issue is specific to the interaction between list indicator positioning (w:numPr) and paragraph indentation (w:ind with w:hanging) inside table cells (w:tc). The attached sample doc includes comparison cases that isolate the problem.
Attachments
Screen Cast 2026-02-02 at 9.43.53 AM.mp4
Want to work on this? Check the Contributing Guide to get started. Comment on this issue to let us know you're picking it up.
Ref: SD-1718