## Overview

Adds a wiki to the page. The Wiki widget provides a Wikipedia-style rich-text editing experience for the built-in content field of pages, documents, and principal entities. It renders and allows in-place editing of HTML-formatted content including text, links, images, and embedded widgets.

Unlike the Custom Rich String Attribute widget which works with custom attributes, the Wiki widget is specifically designed for the system's built-in content/description fields and requires no configuration.

## Use Cases

- **Page content management**: Create documentation pages, knowledge bases, project descriptions, and meeting notes with collaborative wiki-style editing
- **Document descriptions**: Add contextual descriptions and explanations to uploaded files
- **User profiles and group descriptions**: Create rich bio information, team descriptions, and document roles and responsibilities
- **Type definition documentation**: Document custom types with usage guidelines and examples

## Design Considerations

### Zero Configuration
The widget has no configurable attributes. It automatically determines which content field to use based on the entity type:
- Pages and Documents: Uses the `_content()` field
- Persons and Groups: Uses the `_description()` field
- Type Definitions: Uses the `_description()` field

### Single Instance Per Entity
Only one Wiki widget should be embedded per entity since each entity has only one built-in content/description field.

### In-Place Editing
The widget provides modal-free, in-place editing rather than opening a separate dialog, making for a seamless content editing experience.

## Related Patterns

- **Custom Rich String Attribute Widget** (`cf.platform.customRichStringAttribute`): Use when you need to display/edit a custom rich-text attribute rather than the built-in content field. Offers configuration options like frame visibility and attribute selection.
- **Attributes Widget**: Displays all entity attributes in a form layout
- **Single Attribute Widget** (`cf.platform.singleAttribute`): Displays a single attribute value
