LineHeightModel

16 Dec 20251 minute to read

Interface for a class LineHeight

Properties

default string

Specifies the default line height applied to the selected block element.

items IDropDownItemModel[]

Specifies the set of line height options displayed in the dropdown.

supportAllValues boolean

When enabled, the editor retains any numeric line height values found in pasted or imported content, even if they are not in the predefined lineHeight.items list.
These values appear as “Custom: {value}” options in the dropdown.