Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

figure 1 - Wireframe of HTML Text Editor Control (please note that the final design will be provided by the Visual Design Group)

Image AddedHTML Text Editor - wireframeImage Removed

Actions and their grouping

...

1st group includes: CutCopyPaste | UndoRedo
CutCut iconImage RemovedImage AddedThis action removes selected area and place it to the clipboard so users can paste it to another place. It has two states:
  • enabled - area is selected, and
  • disabled.

Tooltip: Cut
Shortcut: Ctrl+X (Cmd+X)

CopyCopy iconImage RemovedImage AddedThis action makes a copy of selected area and place it to the clipboard so user can paste it to another place. It has two states:
  • enabled - area is selected, and
  • disabled.

Tooltip: Copy
Shortcut: Ctrl+C (Cmd+C)

PastePaste iconImage RemovedImage AddedThis action pastes whatever is in the clipboard, right after the I-beam cursor. It has two states:
  • enabled - something is in the clipboard, and
  • disabled.

Tooltip: Paste
Shortcut: Ctrl+V (Cmd+V)

UndoUndo iconImage RemovedImage AddedEverytime this action is invoked, it reverts changes one step back. It has two states:
  • enabled - there has been a change made to original of the document, and
  • disabled.

Tooltip: Undo
Shortcut: Ctrl+Z (Cmd+Z)

RedoRedo iconImage RemovedImage AddedEverytime this action is invoked, it reverts changes one step forward. It has two states:
  • enabled - an action has been reverted back, and
  • disabled.

Tooltip: Redo
Shortcut: Ctrl+Y (Cmd+Shift+Z)

2nd group includes: Styles, Font FamilyFont Size | Bold, Italic, Underline, Strikethrough | Align LeftCenterAlign RightJustifyBulleted ListNumbered List | OutdentIndent | Text ColorBackground Color Clear Styles
StylesStyles drop downImage RemovedImage Added

This action allows users to choose style of the text. When clicked it opens a list with the following choices: Paragraph, Heading 1, Heading 2, Heading 3, Heading 4, Heading 5, and Heading 6.

Tooltip: Styles

Nice to have: It would be nice, if we could show an accurate preview of styles in the drop-down.

Font FamilyFont family dropdownImage RemovedImage AddedThis action allows users to change the font family. Ideally, we should be able to read fonts from the user's system, however, if this is not possible from some reason we should display the following list of "browser safe fonts": Arial, Arial Black, Comic Sans MS, Courier New, Georgia, Lucida Console, Palatino, Tahoma, Times New Roman, Trebuchet MS, and Verdana.

Tooltip: Font Family

Nice to have: It would be nice if we could show an accurate preview of font families in this component.

Font SizeFont size dropdownImage RemovedImage AddedThis action allows users to change size of the font. Predefined sizes are as follows: 8pt, 10pt, 12pt, 14pt, 18pt, 24pt, and 36pt.

Tooltip: Font Size

Mapping:

  • H1 - 24pt
  • H2 - 18pt
  • H3 - 14pt
  • H4, P - 12pt
  • H5 - 10pt
  • H6 - 8pt

Nice to have: It would be nice if we could show an accurate preview of font sizes in this component.

BoldBold iconImage RemovedImage AddedThis action allows users to change/type the text to/in bold. Users can select the text and change it to bold or invoke this action and start typing - the new text will be displayed in bold.

Tooltip: Bold
Shortcut: Ctrl+B (Cmd+B)

ItalicItalic iconImage RemovedImage AddedThis action allows users to change/type the text to/in italic. Users can select the text and change it to italic or invoke this action and start typing - the new text will be displayed in italic.

Tooltip: Italic
Shortcut: Ctrl+I (Cmd+I)

UnderlineUnderline iconImage RemovedImage AddedThis action allows users to change/type underlined text. Users can select the text and underline it or invoke this action and start typing - the new text will be underlined.

Tooltip: Underline
Shortcut: Ctrl+U (Cmd+U)

StrikethroughStrikethrough iconImage RemovedImage AddedThis action allows users to change/type strikethrough text. Users can select the text and make it strikethrough or invoke this action and start typing.

Tooltip: Strikethrough

Align Left

Align Left iconImage RemovedImage AddedWhen clicked, the text, in which the I-beam cursor is placed, is aligned to left.

Tooltip: Align Left

CenterCenter iconImage RemovedImage AddedWhen clicked, the text, in which the I-beam cursor is placed, is centered.

Tooltip: Align Center

Align RightAlign Right iconImage RemovedImage AddedWhen clicked, the text, in which the I-beam cursor is placed, is aligned to right.

Tooltip: Align Right

JustifyJustify iconImage RemovedImage AddedWhen clicked, the text, in which the I-beam cursor is placed, is justified.

Tooltip: Justify

Bulleted ListBulleted List iconImage RemovedImage AddedThis action creates a bulleted list.

Tooltip: Bulleted List

Numbered ListNumbered List iconImage RemovedImage AddedThis action creates a numbered list.

Tooltip: Numbered List

OutdentOutdent iconImage RemovedImage AddedThis action allows users to outdent the text. It has two states:
  • enabled - the I-beam cursor is placed in text that is indented, and
  • disabled.

Tooltip: Outdent
Shortcut: Ctrl+SHIFT+M 

IndentIndent iconImage RemovedImage AddedThis action allows users to indent the text.

Tooltip: Indent
Shortcut: Ctrl+M 

Text ColorText Color iconImage RemovedImage AddedThis action allows users to change color of the text. Users can select the text and change its color or select a color and start typing using the new color. Once clicked, it triggers Color Palette Chooser.

Tooltip: Select text color

Background ColorBackground Color iconImage RemovedImage AddedThis action allows users to change background color of the text. Users can select the text and change its background color or select a color and start typing using the new background color. Once clicked, it triggers Color Palette Chooser.

Tooltip: Select background color

Clear StylesClear Formatting iconImage RemovedImage AddedThis action clear styles from the selected area. It has two states:
  • enabled - area is selected, and
  • disabled.

Tooltip: Clear Styles

Please note that this feature will be part of next version of JavaFX HTML Text Editor control.

3rd group includes: Horizontal Rule | Insert HyperlinkRemove Hyperlink
Horizontal RuleHorizontal Rule iconImage RemovedImage AddedThis action inserts a horizontal line upon click. Its width depends on place where it is inserted.

Tooltip: Insert Horizontal Ruler

Insert/Edit HyperlinkInsert Hyperlink iconImage RemovedImage AddedThis action allows users to insert/edit a hyperlink to/in the document. Once clicked, it triggers this dialog.

Tooltip: Insert/Edit Link

Please note that this feature will be part of next version of JavaFX HTML Text Editor control.

Remove HyperlinkRemove Hyperlink iconImage RemovedImage AddedWhen the I-beam cursor is next to a text that links somewhere or such text is selected, it allows users to remove the link without removing the text. It has two states:
  • enabled - I-beam cursor is next to a hyperlink or a hyperlink is selected, and
  • disabled.

Tooltip: Unlink

Please note that this feature will be part of next version of JavaFX HTML Text Editor control.

...

figure 2 - Wireframe of Color Palette Chooser (please note that the final design will be provided by the Visual Design Group)

Image AddedColor Palette Chooser - wireframeImage Removed
After users click on the desired color, the pop-up window is closed. The pop-up window can also be closed by pressing Esc button or by clicking outside the window.

...

figure 3 - Wireframe of Insert/edit hyperlink (please note that the final design will be provided by the Visual Design Group)

Image AddedImage Removed
Users are allowed to insert a hyperlink in two ways:

...