Namespace providing a set of helper functions for working with the editor content preview, exposed by the Preview plugin.
createPreview( editor, [ callback ] ) → window
Generates the print preview for the given editor.
Note: This function will open a new browser window with the editor's content HTML.
editor : editor
The editor instance.
[ callback ] : Function
The function that will be fired after preview window is loaded.
A newly created window that contains the preview HTML.