# word-count/utils

module

<a id="functions">

## Functions

<a id="function-modelElementToPlainText">

### `modelElementToPlainText( item ) → string` _(internal)_

Returns a plain text representation of an element and its children.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-word-count/src/utils.ts#L18)

#### Parameters

* `item: ModelItem`

#### Returns

* `string`

  Plain text representing the model's data.

---

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