Edit this page

HTML Field

Stores a String in the model. Displayed as a text field or WYSIWYG Editor in the Admin UI.

Example

{ type: Types.Html, wysiwyg: true }

Options

  • wysiwyg Boolean

Whether to display a WYSIWYG editor in the Admin UI - for customizations of the editor see the Admin UI Options.

  • height Number

The height of the field (in pixels).

See the Admin UI Options for global configuration options that can be used to customise the WYSIWYG editor.

Methods

Inherits from Text

  • addFilterToQuery
  • validateInput
  • validateRequiredInput

Filtering

Uses the same logic and filter UI as the Text field type.