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.

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

// Using an external API to generate PDF.
CKEDITOR.plugins.print = {
    exec: function( editor ) {
        var data = editor.getData();

        pdfAPI.generateFromHTML( data );
    }
};

Filtering