Example of undefined in Javascript Rich Text Editor Control

/
/
Export to Word / PDF

This example illustrates how to use the import/export feature of the Rich Text Editor to convert the editor content into a PDF or Word document.

More Details...

Description

This example illustrates how to use the import/export feature of the Rich Text Editor to export the editor content into a PDF or Word document. Clicking the export to PDF icon will export the content of the Rich Text Editor to a PDF document. Clicking the export to Word icon will export the content of the Rich Text Editor to a Word document. Injecting the ImportExport Module The ImportExport feature is provided as an injectable module. To use it, inject the module using the following code: RichTextEditor.Inject(Toolbar, Link, Image, HtmlEditor, QuickToolbar, ImportExport);