clipboard/utils/normalizeclipboarddata
module
Functions
normalizeClipboardData( data ) → stringinternalmodule:clipboard/utils/normalizeclipboarddata~normalizeClipboardDataRemoves some popular browser quirks out of the clipboard data (HTML). Removes all HTML comments. These are considered an internal thing and it makes little sense if they leak into the editor data.
Parameters
data : stringThe HTML data to normalize.
Returns
stringNormalized HTML.