Report an issue
Class

CKEDITOR.plugins.print

class singleton since 4.14.0

Allows to customize the implementation of printing the editor content provided by the Print plugin. For example, the official CKEditor 4 Export to PDF plugin can be used here (see the installation guide):

// Using an 'Export to PDF' plugin to generate PDF.
CKEDITOR.plugins.print = {
    exec: function( editor ) {
        editor.execCommand( 'exportPdf' );
    }
};

Note: This class represents the CKEDITOR.commandDefinition type and should be compatible with its API.

Filtering