Go to the HTML tab of WTextEditorDialog when content is identified as HTML




https://idempiere.atlassian.net/browse/IDEMPIERE-2077 allows to open the dialog panel directly in the HTML tab. But it requires to have a IsHtml field.

If you want to use html notation in an order description field (to be reused in a Jasper report), you have to make a right click, then select Editor and then swith to the Html panel.
For modifying, you have to make same steps. But if the content is identified as html, we can open the html tab directly.


Carlos Ruiz
July 24, 2018, 4:35 PM

I think this ticket becomes obsolete with the implementation of IDEMPIERE-2310.

Nicolas Micoud
February 5, 2016, 10:09 AM

Ah thanks , great to see that there is already a draft patch !

Another option for identifying a HTML content would be to check if it's starts with "<html>" (or <"ThisContentMustBeDisplayedAsHTML"> and when saving this field, make sure to add this marker.


Norbert Bede
February 5, 2016, 7:19 AM

#2 https://idempiere.atlassian.net/browse/IDEMPIERE-2310

related topic: https://groups.google.com/forum/#!searchin/idempiere/html$20field/idempiere/2noPK8v0Zp4/sWXURxc70RIJ

Carlos Ruiz
February 4, 2016, 2:11 PM

yes , #2 can be a different ticket

Nicolas Micoud
February 4, 2016, 2:10 PM

Hi ,

We could do the following :

#1 : use my modified patch (use what is described in http://stackoverflow.com/questions/15458876/check-if-a-string-is-html-or-not instead of startsWith(<p>).

#2 : update the text component to allow displaying of formatted HTML. I think we already have this converation in past (with if i remember well).

Or do you prefer to do both in a single patch (but i have no idea for implementing #2 )




Won't Fix
Your pinned fields
Click on the next to a field label to start pinning.


Carlos Ruiz


Nicolas Micoud