I have a database containing plain text fields with the innerHTML content for a body tag, and we aim to create a converter that turns the HTML into RTF, then adds the styles, text etc. to a Rich Text field in the same document. And then the editing of the “HTML” would be done in the RTF field.
While there are many methods to convert RTF to HTML (such as found on nsftools.com, Lotusscript doc.converttohtml and others(?)), I haven’t found any resources for converting HTML to RTF.
The work is intended to be done in the Notes client, and one method could be to manually render the HTML field on the form, mark and copy, then paste it into the RTF field (this has been tested and works) with satisfactory results.
Alternatively, is there a WYSIWYG editor that can be used on a Notes form to edit the HTML field directly?
Currently, I am out of ideas and would appreciate suggestions on the best way forward.