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.
I think this ticket becomes obsolete with the implementation of IDEMPIERE-2310.
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.
yes , #2 can be a different ticket
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 )