Skip to content

1681-engine / ui / stripRichText

Function: stripRichText() ​

ts
function stripRichText(source, options?): string;

Defined in: src/ui/rich/richMarkup.ts:101

Plain text of markup: tags gone, icons gone, escapes undone (for measuring, logs, screen readers).

Parameters ​

ParameterType
sourcestring
optionsRichMarkupOptions

Returns ​

string

Released under the MIT License.