Skip to content

wysiwyg

Simone Montali edited this page Sep 9, 2019 · 2 revisions

WYSIWYG

{
  "id": "wysiwyg",
  "type": "wysiwyg",
  "size": "half",
  "label": "label",
  "description": "description",
  "placeholder": "placeholder",
  "required": true
}

The WYSIWYG field displays a TinyMCE What You See Is What You Get editor.

Options

For the general settings fields, check the getting started page.

Custom options

The text field has an additional option:

  • "placeholder" stores a placeholder for the field, which is displayed in editing mode.

Filters

You can filter the field's fetched value by calling WordPress' add_filter with the tag "aeria_get_base".

Clone this wiki locally