flattenNestedSpans
Function
Definition
Package:@progress/kendo-angular-editor
Flattens nested elements in the given HTML string while preserving the original styling and formatting.
Parameters:contentstring
The HTML content to normalize.
Returns:string
The normalized HTML content with flattened elements.