We were getting errors while tried to save a Word document, with nested list on the html content.
error: Only LI element or transparent element can be added as child to this ‘ul’ element, but not the given ‘com.groupdocs.editor.htmlcss.a.b.b.d’ element
Parameter name: newElement
project: GroupDocs.Editor-for-Java-Spring
JAVA version: 11
groupdocs-editor.version: 22.6
class: EditorServiceImpl
method: saveDoc
HTML content:
@MTJames
Please try this Spring application. It usese lastest API version. Let us know if issue persist.
Trying with that demo threw the same exception.
li-error.PNG (69.3 KB)
@MTJames
Could you please also share the problematic Word file? We’d appreciate if you share a screencast/GIFF of steps using that issue could be reproduced.
Hi, the problem is when I copy some nested list from google docs.
ul-structure.png (36.1 KB)
Document
Steps
1 Like
@MTJames
Thanks for the details. We have logged this issue at GitHub. Please keep track of this issue link. However, we’ll notify you here as well in case of any update.
@MTJames
Please take a look at our response here on GitHub.