Closed KhurramShehzadd closed 2 weeks ago
I noticed that all direction attributes converted from dir="rtl" to dir="ltr" after parsing. Any help will be highly appreciated.
@onizet, Can you please suggest on this. What could be the workaround ?
Hi, after a long debugging session, I found out that the library doesn't support yet the background
style. Instead, I suggest you to use either bgcolor
or background-color
.
@KhurramShehzadd hi, I think I cross-reply, sorry about that. Can you provide me a docx file with the expected output? It's hard for me to troubleshoot RTL documents as I don't know how to turn my Word to RTL mode. Thank you
I'm using a TinyMCE editor to get the html of content then pass this html to my api to generate the word document. The html received from TinyMCE works great on any online html editor. But I use html parser converter.ParseHtml(html); and word document is generated. Styles are not there.
Below is my actual html:
Expected result in word:
Actual result in word: