sanitize

Sanitizes the HTML.

import { EditorUtils } from '@progress/kendo-react-editor';
const html = EditorUtils.sanitize('something pasted from MS Word, containing <o:p>, <w:sdtPr>, <v:shapes tags');

Parameters

html string

The HTML which will be sanitized.

Returns

string - The sanitized HTML.

 /