# SuggestionDescription

interface

A description for the suggestion.

```typescript
{
		type: 'format',
		label: '*Set format:* bold'
}
```

A description for the color-related suggestions like font color may specify the `color` property that will provide a better UX by displaying a color box next to the suggestion.

```typescript
{
		type: 'format',
		label: '*Set font color:*',
		color: {
			value: 'hsl( 60, 60%, 60% )',
			title: 'yellow'
		}
}
```

<a id="properties">

## Properties

<a id="member-color">

### `color?: object`

The optional `color` property used for color-related suggestions. The object should provide the `value` (for displaying the color) and `title` (for describing the color) fields.

<a id="member-content">

### `content: string`

Description label. You may use `*` to bold part of the label.

<a id="member-type">

### `type: 'replace' | 'format' | 'insertion' | 'deletion'`

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
