GCBGutenberg
Control Blocks
Buy

Field type

wysiwyg

Backwards-compat alias for richtext. Same Tiptap-backed editor, same stored HTML shape. Kept so existing fields configs using "type": "wysiwyg" continue to work; new fields should use richtext.

Type: wysiwyg · Stored attribute type: string

Stored value

string — HTML, same as richtext

Supports

  • All richtext features (bold, italic, lists, links, image insert, headings, three display modes)

Config options

OptionTypeDefaultDescription
headingLevelsnumber[][2, 3, 4]Which heading levels appear in the block-type select.
allowImagesbooleantrueShow the insert-image toolbar button.
displaystring — "inline" | "popover" | "modal"Force a specific display mode.

Gotchas

  • Historically backed by TinyMCE/wp_editor(). Now a thin alias for richtext — Tiptap renders both. Stored HTML round-trips cleanly, so the rename is transparent.
  • For new fields prefer richtext — wysiwyg exists for back-compat only.

Example

JSON
{ "id": "ctrl_body",
  "type": "wysiwyg",
  "label": "Body",
  "attributeKey": "body",
  "parentPanelId": "panel" }

Every field also takes the keys common to all fields.

Built from GCB Lite 0.4.0 (ce232d4). Source: schemas/controls/wysiwyg.md.

Copyright © 2026 Runchain. WordPress is a trademark of the WordPress Foundation.