HTML Editor Tool

From ADempiere ERP Wiki
Jump to navigationJump to search

Table of Contents{{#if: Functionality| | Functionality }}{{#if: | | [[{{{3}}}]] }}{{#if: | | [[{{{4}}}]] }}{{#if: | | [[{{{5}}}]] }} | HTML Editor Tool{{#if: Invoice Info| | Invoice Info }} ⇒

The HTML Editor Tool provides a way to enter and format text as HTML.

Access[edit]

Icon: Icon Edit24.png
Pop-Up Menu: Editor (Text Long fields only)

Restrictions[edit]

The HTML Editor Tool is only available in the pop-up menu while the focus is in a Text Long field.

There is no way to directly enter HTML markup and the editing features are limited.

Description[edit]

The HTML Editor Tool appears in the pop-up menu on Text Long fields and opens with a screen similar to the one below.

 

HTMLEditorTool.png

 

The window has a menu with a three entries:

  • Font: adjust font, font size, font style and heading type
  • Align: set alignment left, center or right
  • HTML: set the paragraph style, table, lists etc...

Below the menu is a row of icons:

  • Icon Import24.png Import a file from the file system.
  • Icon Export24.png Save the contents to a file on the file system.
  • Icon Bold16.png Toggle the format to/from Bold.
  • Icon Italic16.png Toggle the format to/from Italic.
  • Icon Underline16.png Toggle the format to/from Underline.

Usage of the HTML Editor is similar to a simple WYSIWYG editor.

At the bottom of the screen is the Icon Cancel24.png Cancel and Icon Ok24.png Confirm buttons.

Clicking the Icon Ok24.png Confirm button will save the changes in the field, otherwise, all changes will be lost.

For Developers[edit]

The software that displays this window can be found in:

  • client/src
    • org.compiere.grid.ed.HTMLEditor.java