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