WYSIWYG Editor field mapping
Map WordPress ACF WYSIWYG editor fields to rich text in Optimizely CMP for seamless content management.
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
}Updated 12 days ago