clipboard/utils/normalizeclipboarddata
@ckeditor/ckeditor5-clipboard/src/utils/normalizeclipboarddata
module
Filtering
Functions
-
normalizeClipboardData( data ) → String
Removes 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 : String
The HTML data to normalize.
Returns
String
Normalized HTML.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.