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.
This sample demonstrates the Import/Export
feature of the Rich Text Editor, which allows users to
import the Word document into the editor. The word document can be imported as Rich Text Editor content by clicking the
import to Word icon, browsing for the document, and uploading it to the server, where it is converted to HTML
and then sent to the Rich Text Editor as its value.
Injecting Module
Rich Text Editor component features are segregated into individual feature-wise modules. To use Rich Text Editor feature, we need to inject HtmlEditor, Toolbar, Link, Image, Count, QuickToolbar, Table, PasteCleanup, ImportExport
modules into the services.