Using JavaScript Control - Undesired <p> tag is inserted into the beginning of the text

I’m using the official release of Domino 8.5.

I’ve a form with a rich text field, which is configured to be displayed with the new option “Using JavaScript Control”.

If I use that form to create a document, Domino inserts an undesired

tag into the beginning of the text when the document is viewing in read mode.

Does anyone know how to remove that

tag??

Thanks in advanced.

Regards,

Kevin

Subject: Good news / Bad news

Bad news first - that

tag isn’t under your control, so you can’t remove it. The only ‘read mode’ rendering of rich text that does not use the

tag is when the rich text field’s ‘web access display’ property is set to HTML.

The good news is that this is a better rendering than we do if that property is set to either Java Applet or Best Fit for OS (IE’s DHTML control if available) - they both get this

tag, and another

tag as well…

Thanks for the bug report, you’ve got me wondering why we need different renderings for read mode…

Subject: Update

There are some intertwined issues here. One has to do with the formatting for MIME rich text vs. Notes rich text - the offending

tag seems to only be added for MIME - which is the format you always get when editing from the web.

The Java Applet and Best Fit for OS controls seem to add the

tag on the first save of data - that becomes part of the MIME stream, and is visible from the field’s property box when in the Notes client.

The addition of the

was not random, before removing it need to understand what will break.

Subject: Thanks for the prompt feedback!

I agree that the new “Using JavaScript control” option is really a very nice feature and appreciate it :slight_smile:

Regards,

Kevin