I am converting HTML with some content of a richtexteditor to PDF using Aspose.Words 21.9.
Comparing richTextEditor.html and richTextEditor.pdf in richTextEditor.zip (46.8 KB) , you can see some styling issues, eg the border is at the wrong place.
Kind regards