ClipboardImporter
Class defined in ui/ClipboardImporter.js#16 inherits from

Import HTML from clipboard. Used for inter-application copy'n'paste.

Parses HTML and applies some sanitization/normalization.

Converts all children of a given body element.

Parameters
bodyString

body element of given HTML document

Creates substance document to paste.

Returns
Document

the document instance