Hi,
We are using Gembox in combination with tinyMCE on our website. We create/edit a html with tinyMCE and then Gembox converts this to a Word file. This Word file gets saved for later use and editing. Now, when I want to edit that word file again in tinyMCE I have to convert the word file back to html.
During these conversions, some weird artifacts happen. For example a simple bullet point list created in tinyMCE looks like this:
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
It gets nicely converted to Word. When I convert the Word back to html it looks like this:
<div>
<p style="text-indent: -18pt; line-height: 115%; font-size: 11pt; margin: 0pt 0pt 10pt 36pt;"><span style="font-family: Symbol; font-size: 11pt;"></span><span style="mso-tab-count: 1;"> </span><span style="font-family: Arial; font-size: 11pt;">Coffee</span></p>
<p style="text-indent: -18pt; line-height: 115%; font-size: 11pt; margin: 0pt 0pt 10pt 36pt;"><span style="font-family: Symbol; font-size: 11pt;"></span><span style="mso-tab-count: 1;"> </span><span style="font-family: Arial; font-size: 11pt;">Tea</span></p>
<p style="text-indent: -18pt; line-height: 115%; font-size: 11pt; margin: 0pt 0pt 10pt 36pt;"><span style="font-family: Symbol; font-size: 11pt;"></span><span style="mso-tab-count: 1;"> </span><span style="font-family: Arial; font-size: 11pt;">Milk</span></p>
</div>
In tinyMCE, it looks nice but further editing is troublesome. E.g. continuing the bullet point list is not possible since tinyMCE doesn’t see this html as list.
Is there a good way to approach something like this?
The thing is our software needs to save this in word format. The same text should be able to be edited in tinyMCE and also in Word directly and is should look and behave the same. In our App it’s also possible to create the word file first and then edit it further in our web. Any ideas are appreciated.