Skip to content

Type Editor


Type Editor / @type-editor/changeset / simplify-changes/get-text

simplify-changes/get-text

Functions

FunctionDescription

getText

Extracts text content from a document fragment range.

Converts a range of document nodes into a string representation for character-level analysis. Non-text elements (images, widgets, etc.) are represented as spaces to prevent them from being considered part of words.