Editor should be initialized with the whole page HTML.
The <head> and other non-content elements should be preserved and available in the output data and Source Editing mode.
<head>