Convert html to word and back again in combination with a WYSIWYG editor

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.

Hi Remo,

I just wanted to let you know that we’re adding support for your requirement.

We’ll provide support for this using the HtmlSaveOptions.UseSemanticElements.
I’ll contact you again when this is done.

Regards,
Mario

Hi Mario,

Thanks for letting me know. That’ll be a nice addition!

Until then I guess we have to write some custom conversion code to edit e.g. lists in tinyMCE.

Hi Mario,

Sorry to bother again. Do you have an anticipated timeline or timeframe for this (especially ordered/unordered lists)?

Thanks!

Hopefully, this should be available by the end of this week or the beginning of next week.