# CaseChangeTitleCaseConfig

interface

Title case configuration. It allows setting words that should not be capitalized when formatted as title case.

```typescript
ClassicEditor
	.create( {
		caseChange: {
			titleCase {
				excludeWords: [ 'a', 'an', 'the' ]
			}
		}
	} )
	.then( /* ... */ )
	.catch( /* ... */ );
```

```typescript
ClassicEditor
	.create( {
		caseChange: {
			titleCase {
				excludeWords: ( word ) => [ 'a', 'an', 'the' ].includes( word )
			}
		}
	} )
	.then( /* ... */ )
	.catch( /* ... */ );
```

```typescript
ClassicEditor
	.create( {
		caseChange: {
			titleCase {
				excludeWords: ( word, { wordIndex } ) => wordIndex > 0 && [ 'a', 'an', 'the' ].includes( word )
			}
		}
	} )
	.then( /* ... */ )
	.catch( /* ... */ );
```

See [all editor options](module_core_editor_editorconfig-EditorConfig.md).

<a id="properties">

## Properties

<a id="member-excludeWords">

### `excludeWords?: Array<string> | CaseChangeExcludeWordsCallback`

Words which should not be capitalized.

---

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