@ckeditor/ckeditor5-word-count
Version:
Word and character count feature for CKEditor 5.
15 lines (14 loc) • 478 B
TypeScript
/**
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
*/
/**
* @module word-count/utils
*/
import type { Item } from 'ckeditor5/src/engine.js';
/**
* Returns a plain text representation of an element and its children.
*
* @returns Plain text representing the model's data.
*/
export declare function modelElementToPlainText(item: Item): string;