compact (NotesRichTextItem - JavaScript)

Compacts a rich text item to use minimum space.

Defined in

NotesRichTextItem

Syntax

compact() : void

Usage

In rare cases, editing a rich text item may introduce extraneous space. This method eliminates any extraneous space. This method invalidates the positions of navigators and is best used at the end of editing.