Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI ReferenceChangelog
Dev GuideAPI ReferenceChangelogUser GuideDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

WYSIWYG Editor field mapping

Optimizely Content Marketing Platform (CMP) supports mapping the ACF WYSIWYG Editor field to the structured content Rich Text type field.

JSON example

{
  "core": {
    "key": "acf_wysiwyg_editor_field",
    "name": "ACF WYSIWYG Editor Field",
    "is_list": false,
    "is_required": false,
    "need_internationalization": false,
    "min_list_length": 1,
    "max_list_length": -1,
    "field_type": "rich-text",
    "source_id": null,
    "source_metadata": "{\"is_custom_post_type_field\": true}",  // It is important to identify source_metadata as custom field
    "order_index": 0,
    "help_text": null,
    "editor_metadata": null
  },
  "min_visual_text_length": 0,
  "max_visual_text_length": -1,
  "default_values": null
}